forked from kc3hack/2024_L
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
62 lines (58 loc) · 1.14 KB
/
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
59
60
61
62
version: "3"
services:
manage-api:
build:
context: ./manage/api
dockerfile: ./Dockerfile
args:
- HOST_UID=1000
- HOST_GID=1000
volumes:
- ./manage/api:/usr/src/app
ports:
- "5000:5000"
depends_on:
- db
tty: true
stdin_open: true
manage-web:
build:
context: ./manage/web
dockerfile: ./Dockerfile
volumes:
- ./manage/web:/usr/src/app
environment:
CHOKIDAR_USEPOLLING: "true"
PORT: 8000
ports:
- "8000:8000"
depends_on:
- manage-api
tty: true
stdin_open: true
db:
image: mysql:8.2.0
command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci
volumes:
- db-volume:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: password
TZ: "Asia/Tokyo"
ports:
- "3306:3306"
client:
build:
context: ./client
dockerfile: ./Dockerfile
volumes:
- ./client:/usr/src/app
environment:
CHOKIDAR_USEPOLLING: "true"
ports:
- "3000:3000"
depends_on:
- manage-api
tty: true
stdin_open: true
volumes:
db-volume: