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.

44 lines
1.1 KiB

2 years ago
services:
consul:
container_name: laomaDJConsul
1 year ago
image: consul:1.15
2 years ago
ports:
- "8500:8500"
command: agent -dev -client=0.0.0.0
1 year ago
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
2 years ago
redis:
container_name: laomaDJRedis
image: redis
ports:
- "6379:6379"
volumes:
1 year ago
- ./volumes/redis/data:/data
2 years ago
mysql:
container_name: laomaDJMySQL
image: mysql
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: mashibing
2 years ago
# MYSQL_DATABASE: laomadj_customer
command: --init-file /docker-entrypoint-initdb.d/init.sql
2 years ago
volumes:
2 years ago
- ./volumes/mysql/data:/var/lib/mysql
- ./volumes/mysql/init.sql:/docker-entrypoint-initdb.d/init.sql
2 years ago
# docker-compose up -d