version: '3.3' services: elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:7.17.11 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" ulimits: memlock: soft: -1 hard: -1 skywalking-oap: image: docker.io/apache/skywalking-oap-server:9.5.0 container_name: skywalking-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" skywalking-ui: image: docker.io/apache/skywalking-ui:9.5.0 container_name: skywalking-ui depends_on: - skywalking-oap links: - skywalking-oap restart: always ports: - 8880:8080 environment: SW_OAP_ADDRESS: http://skywalking-oap:12800