-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.yml
51 lines (48 loc) · 973 Bytes
/
local.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
services:
db-menu-local:
image: postgres:16-alpine
container_name: db-menu-local
ports:
- 5432:5432
env_file:
- .local.env
volumes:
- ./data/database:/var/lib/postgresql/data
networks:
- event-menu
api-menu-local:
build:
context: .
dockerfile: ./docker/local/api/Dockerfile
container_name: api-menu-local
command: /bin/sh /start.sh
stdin_open: true
tty: true
ports:
- 8000:8000
env_file:
- .local.env
volumes:
- ./api:/app
depends_on:
- db-menu-local
networks:
- event-menu
web-menu-local:
build:
context: .
dockerfile: ./docker/local/web/Dockerfile
container_name: web-menu-local
command: /bin/sh /start.sh
ports:
- 5500:5500
volumes:
- ./web:/app
depends_on:
- db-menu-local
- api-menu-local
networks:
- event-menu
networks:
event-menu:
driver: bridge