美文网首页
2021-07-15 Skywalking 8.6.0 dock

2021-07-15 Skywalking 8.6.0 dock

作者: 谢谢2018 | 来源:发表于2021-07-15 16:26 被阅读0次

    docker pull elasticsearch:7.5.1

    docker pull apache/skywalking-oap-server:8.6.0-es7

    docker pull apache/skywalking-ui:8.6.0

    docker run -d --name=es7 \

    -p 9200:9200 -p 9300:9300 \

    -e "discovery.type=single-node" elasticsearch:7.5.1

    docker cp es7:/usr/share/elasticsearch/data /data/elasticsearch/

    docker cp es7:/usr/share/elasticsearch/logs /data/elasticsearch/

    docker rm -f es7

    mkdir -p /data/elasticsearch

    docker run -d --name=es7 \

    --restart=always \

    -p 9200:9200 -p 9300:9300 \

    -e "discovery.type=single-node" \

    -v /data/elasticsearch/data:/usr/share/elasticsearch/data \

    -v /data/elasticsearch/logs:/usr/share/elasticsearch/logs \

    elasticsearch:7.5.1

    docker run --name oap --restart always -d \

    --restart=always \

    -e TZ=Asia/Shanghai \

    -p 12800:12800 \

    -p 11800:11800 \

    --link es7:es7 \

    -e SW_STORAGE=elasticsearch \

    -e SW_STORAGE_ES_CLUSTER_NODES=es7:9200 \

    apache/skywalking-oap-server:8.6.0-es7

    docker run -d --name skywalking-ui \

    --restart=always \

    -e TZ=Asia/Shanghai \

    -p 9000:8080 \

    --link oap:oap \

    -e SW_OAP_ADDRESS=oap:12800 \

    apache/skywalking-ui:8.6.0

    相关文章

      网友评论

          本文标题:2021-07-15 Skywalking 8.6.0 dock

          本文链接:https://www.haomeiwen.com/subject/uzqmpltx.html