-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathcompose.yml
53 lines (49 loc) · 849 Bytes
/
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
services:
db:
build:
context: ./db
shm_size: 128mb
ports:
- 5432:5432
env_file:
- ./.env
kc:
depends_on:
- db
build:
context: ./kc
ports:
- ${KC_HTTP_PORT}:${KC_HTTP_PORT}
- ${KC_HTTP_MANAGEMENT_PORT}:${KC_HTTP_MANAGEMENT_PORT}
env_file:
- ./.env
mailhog:
depends_on:
- kc
build:
context: ./mailhog
ports:
- ${MH_UI_BIND_ADDR_PORT}:${MH_UI_BIND_ADDR_PORT}
env_file:
- ./.env
api:
depends_on:
- kc
build:
context: ./api
ports:
- ${API_PORT}:${API_PORT}
env_file:
- ./.env
react:
depends_on:
- kc
- api
build:
context: ./react
ports:
- ${VITE_PORT}:${VITE_PORT}
env_file:
- ./.env
volumes:
- ./react/src:/app/src:rw