其他分享
首页 > 其他分享> > Skywalking——docker环境部署

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

 

5、访问 Skywalking UI

 

 

OK

 

标签:9200,skywalking,部署,tcp,elasticsearch,oap,Skywalking,docker
来源: https://www.cnblogs.com/zuichao/p/15699553.html