You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
laomaDJ/docker-compose.yml

44 lines
1.1 KiB

services:
consul:
container_name: laomaDJConsul
image: consul:1.15
ports:
- "8500:8500"
command: agent -dev -client=0.0.0.0
jaeger:
container_name: laomaDJJaeger
image: jaegertracing/all-in-one
ports:
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "16686:16686"
- "4317:4317"
- "4318:4318"
- "14250:14250"
- "14268:14268"
- "14269:14269"
- "9411:9411"
environment:
COLLECTOR_ZIPKIN_HOST_PORT: 9411
COLLECTOR_OTLP_ENABLED: true
redis:
container_name: laomaDJRedis
image: redis
ports:
- "6379:6379"
volumes:
- ./volumes/redis/data:/data
mysql:
container_name: laomaDJMySQL
image: mysql
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: mashibing
# MYSQL_DATABASE: laomadj_customer
command: --init-file /docker-entrypoint-initdb.d/init.sql
volumes:
- ./volumes/mysql/data:/var/lib/mysql
- ./volumes/mysql/init.sql:/docker-entrypoint-initdb.d/init.sql
# docker-compose up -d