-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproduction.yml
More file actions
45 lines (41 loc) · 769 Bytes
/
production.yml
File metadata and controls
45 lines (41 loc) · 769 Bytes
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
services:
db-menu:
image: postgres:16-alpine
container_name: db-menu
ports:
- 5432:5432
env_file:
- .env
volumes:
- db:/var/lib/postgresql/data
networks:
- event-menu
api-menu:
build:
context: .
dockerfile: ./docker/production/api/Dockerfile
container_name: api-menu
command: /bin/sh /start.sh
ports:
- 8000:8000
env_file:
- .env
volumes:
- ./staticfiles:/staticfiles/
- ./mediafiles:/mediafiles/
depends_on:
- db-menu
networks:
- event-menu
cache-menu:
image: redis:7-alpine
container_name: cache-menu
ports:
- 6379:6379
networks:
- event-menu
networks:
event-menu:
driver: bridge
volumes:
db: