-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.prod.yaml
76 lines (73 loc) · 1.58 KB
/
docker-compose.prod.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
72
73
74
75
76
x-environment: &COMMON_VARS
DJANGO_SETTINGS_MODULE: 'config.settings.production'
ENVIRONMENT: 'PRODUCTION'
services:
backend:
image: ml06py/food_anywhere:latest
extends:
service: backend
file: docker-compose.base.yaml
env_file:
- envs/.env.prod
environment:
*COMMON_VARS
celery:
image: ml06py/food_anywhere:latest
extends:
service: celery
file: docker-compose.base.yaml
env_file:
- envs/.env.prod
environment:
*COMMON_VARS
celery-beat:
image: ml06py/food_anywhere:latest
extends:
service: celery-beat
file: docker-compose.base.yaml
env_file:
- envs/.env.prod
environment:
*COMMON_VARS
postgres:
extends:
service: postgres
file: docker-compose.base.yaml
env_file:
- envs/.env.prod
redis:
extends:
service: redis
file: docker-compose.base.yaml
promtail:
extends:
service: promtail
file: docker-compose.base.yaml
loki:
extends:
service: loki
file: docker-compose.base.yaml
grafana:
extends:
service: grafana
file: docker-compose.base.yaml
node_exporter:
extends:
service: node_exporter
file: docker-compose.base.yaml
prometheus:
extends:
service: prometheus
file: docker-compose.base.yaml
jaeger:
extends:
service: jaeger
file: docker-compose.base.yaml
networks:
main:
volumes:
food_anywhere_postgres_data:
food_anywhere_grafana_data:
food_anywhere_node_exporter_data:
food_anywhere_prometheus_data:
food_anywhere_jaeger_data: