-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
58 lines (53 loc) · 1.22 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: '3'
networks:
easycar:
driver: ${NETWORKS_DRIVER}
services:
easycar:
image: wuqinqiang/easycar:1.0.0
networks:
- easycar
ports:
- "8087:8087"
- "8088:8088"
depends_on:
- mysql
### MySQL ################################################
mysql:
build:
context: ./init/mysql
args:
- MYSQL_VERSION=${MYSQL_VERSION}
environment:
- MYSQL_DATABASE=${MYSQL_DATABASE}
- MYSQL_USER=${MYSQL_USER}
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- TZ=${TIMEZONE}
volumes:
- ${DATA_PATH_HOST}/mysql:/var/lib/mysql
ports:
- "${MYSQL_PORT}:3306"
networks:
- easycar
mongodb:
image: mongo:${MONGODB_VERSION}
container_name: easycar_mongodb
# restart: always
ports:
- "${MONGODB_PORT}:27017"
volumes:
- ${DATA_PATH_HOST}/mongodb/data/db:/data/db
- ${DATA_PATH_HOST}/mongodb/data/configdb:/data/configdb
networks:
- easycar
jaeger:
container_name: jaeger
image: jaegertracing/all-in-one:1.19
ports:
- "6831:6831/udp"
- "5778:5778"
- "16686:16686"
- "14268:14268"
networks:
- easycar