docker-compose.dev.yml (64 lines of code) (raw):

# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # version: "3.7" services: # Skywalking components. elasticsearch: image: elasticsearch:7.9.2 restart: always ports: - 9200:9200 healthcheck: test: ["CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1"] interval: 30s timeout: 10s retries: 3 start_period: 40s environment: discovery.type: single-node expose: - "9200" ulimits: memlock: soft: -1 hard: -1 consul: image: docker.io/bitnami/consul:1-debian-10 ports: - '8300:8300' - '8301:8301' - '8301:8301/udp' - '8500:8500' - '8600:8600' - '8600:8600/udp' oap: image: apache/skywalking-oap-server:8.6.0-es7 depends_on: - elasticsearch links: - elasticsearch ports: - 11800:11800 - 12800:12800 environment: SW_STORAGE: elasticsearch7 SW_STORAGE_ES_CLUSTER_NODES: elasticsearch:9200 restart: always healthcheck: test: ["CMD-SHELL", "/skywalking/bin/swctl"] interval: 30s timeout: 10s retries: 3 start_period: 40s depends_on: - consul - elasticsearch ui: image: apache/skywalking-ui:8.6.0 depends_on: - oap links: - oap ports: - 8080:8080 environment: SW_OAP_ADDRESS: oap:12800 depends_on: - oap