-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
69 lines (62 loc) · 1.17 KB
/
docker-compose.yaml
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
59
60
61
62
63
64
65
66
67
68
69
version: '3.8'
services:
mysql-teatime:
image: mysql:8.0.33
networks:
- teatime-network
volumes:
- mysql-teatime:/var/lib/mysql
- /etc/localtime:/etc/localtime:ro
ports:
- "3307:3306"
platform: linux/amd64
environment:
- TZ=Asia/Seoul
- MYSQL_ROOT_PASSWORD=1234
- MYSQL_DATABASE=teatime
eureka:
image: kurtyoon/teatime-server:0.0.1
networks:
- teatime-network
ports:
- "8761:8761"
api:
image: kurtyoon/teatime-api:0.0.1
networks:
- teatime-network
ports:
- "8081:8081"
depends_on:
- eureka
model:
image: kurtyoon/teatime-model:0.0.1
networks:
- teatime-network
ports:
- "8082:8082"
depends_on:
- eureka
external:
image: kurtyoon/teatime-external:0.0.1
networks:
- teatime-network
ports:
- "8083:8083"
depends_on:
- eureka
gateway:
image: kurtyoon/teatime-gateway:0.0.1
networks:
- teatime-network
ports:
- "8080:8080"
depends_on:
- api
- model
- external
- eureka
volumes:
mysql-teatime:
networks:
teatime-network:
driver: bridge