-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
71 lines (68 loc) · 1.42 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
70
71
version: "3.8"
networks:
front-connection:
driver: bridge
db-connection:
driver: bridge
services:
nginx:
container_name: nginx
image: nginx
restart: always
ports:
- "80:80/tcp"
- "443:443"
volumes:
- ./default.conf:/etc/nginx/conf.d/default.conf
networks:
- front-connection
environment:
- TZ=Asia/Seoul
depends_on:
- everytown
- backend
- imageserver
everytown:
image: everytown:1.3
container_name: everytown
restart: always
expose:
- "8080"
networks:
- front-connection
backend:
networks:
- front-connection
image: backend:0.3
container_name: backend
restart: always
ports:
- 7777:7777
depends_on:
- mysqldb
mysqldb:
container_name : mysqldb
image: "mysql:5.7"
restart: always
ports:
- 3306:3306
command:
- --default-authentication-plugin=mysql_native_password
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci
- --range_optimizer_max_mem_size=16777216
environment:
MYSQL_DATABASE : everytown
MYSQL_USER: everytown
MYSQL_PASSWORD: everytown
MYSQL_ROOT_PASSWORD: everytown
networks:
- front-connection
imageserver:
image: imageserver:0.2
container_name: imageserver
restart: always
expose:
- "3002"
networks:
- front-connection