DockerCompose部署skywalking

skywalking

version: '3'
services:
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:7.17.6
    container_name: elasticsearch
    restart: always
    ports:
      - 9200:9200
      - 9300:9300
    environment:
      - discovery.type=single-node
      - TZ=Asia/Shanghai
      - bootstrap.memory_lock=true
      - "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
    volumes:
      - /skywalking/elasticsearch/data:/usr/share/elasticsearch/data
    ulimits:
      memlock:
        soft: -1
        hard: -1
  oap:
    image: docker.io/apache/skywalking-oap-server:9.4.0
    container_name: oap
    depends_on:
      - elasticsearch
    restart: always
    ports:
      - 11800:11800
      - 12800:12800
    environment:
      SW_CORE_RECORD_DATA_TTL: 15
      SW_CORE_METRICS_DATA_TTL: 15
      SW_STORAGE: elasticsearch
      SW_STORAGE_ES_CLUSTER_NODES: elasticsearch:9200
      SW_ENABLE_UPDATE_UI_TEMPLATE: true
      TZ: Asia/Shanghai
      JAVA_OPTS: "-Xms2048m -Xmx2048m"
  ui:
    image: docker.io/apache/skywalking-ui:9.4.0
    container_name: ui
    depends_on:
      - oap
    links:
      - oap
    restart: always
    ports:
      - 8080:8080
    environment:
      SW_OAP_ADDRESS: http://oap:12800
      SW_ZIPKIN_ADDRESS: http://oap:9412

sed -i '/ADD/a ADD ./apache-skywalking-java-agent-9.2.0.tgz /' Dockerfile

https://mirrors.tuna.tsinghua.edu.cn/apache/skywalking/java-agent/9.2.0/apache-skywalking-java-agent-9.2.0.tgz
相关推荐
你的微笑,乱了夏天15 天前
微服务链路追踪skywalking安装
分布式·后端·中间件·架构·skywalking
孟林洁23 天前
ES + SkyWalking + Spring Boot:日志分析与服务监控(三)
spring boot·elasticsearch·skywalking
醇氧24 天前
【skywalking 】More than 15,000 ‘grammar‘ tokens have been presented. 【未解决请求答案】
linux·运维·skywalking·1024程序员节
醇氧1 个月前
【skywalking】监控 Spring Cloud Gateway 数据
java·skywalking
芥末鱿鱼~1 个月前
Skywalking教程一
分布式·skywalking
一条行走的鱼1 个月前
分布式链路追踪-01初步认识SkyWalking
分布式·skywalking
搬砖天才、1 个月前
监控-08-skywalking监控告警
skywalking
服务端相声演员1 个月前
【实战篇】用SkyWalking排查线上[xxl-job xxl-rpc remoting error]问题
skywalking
Slow菜鸟1 个月前
SpringBoot教程(三十二) | SpringBoot集成Skywalking链路跟踪
spring boot·后端·skywalking
丶只有影子2 个月前
基于Docker部署最新版本SkyWalking【10.1.0版本】
docker·容器·skywalking