Skywalking——docker环境部署

1、安装docker

  

2、安装docker-compose

 

3、编写docker-compose.yml文件

version: '3.3'
services:
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:6.8.1
    container_name: elasticsearch
    restart: always
    ports:
      - 9200:9200/tcp
      - 9300:9300/tcp
    environment:
      - discovery.type=single-node
      - bootstrap.memory_lock=true
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
    ulimits:
      memlock:
        soft: -1
        hard: -1
  skywalking-oap:
    image: apache/skywalking-oap-server:6.6.0-es6
    container_name: skywalking-oap
    depends_on:
      - elasticsearch
    links:
      - elasticsearch
    restart: always
    ports:
      - 11800:11800/tcp
      - 12800:12800/tcp
    environment:
      SW_STORAGE: elasticsearch
      SW_STORAGE_ES_CLUSTER_NODES: elasticsearch:9200
  skywalking-ui:
    image: apache/skywalking-ui:6.6.0
    container_name: skywalking-ui
    depends_on:
      - skywalking-oap
    links:
      - skywalking-oap
    restart: always
    ports:
      - 8080:8080/tcp
    environment:
      SW_OAP_ADDRESS: oap:12800

 

4、启动容器

docker-compose -f sk.yml up -d

Skywalking——docker环境部署

 

5、访问 Skywalking UI

Skywalking——docker环境部署

 

 

OK

 

上一篇:C# .NET Framework 3.5 下 Thread 与 Semaphore 的简单例子


下一篇:线程休眠_sleep