-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.prod.reference.yaml
More file actions
74 lines (73 loc) · 1.93 KB
/
Copy pathcompose.prod.reference.yaml
File metadata and controls
74 lines (73 loc) · 1.93 KB
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
# Reference: currently deployed upstream prod docker compose config
# Use this to inform updates to compose.prod.yaml
networks:
prod-fragforce-org: {}
swag_bridge: {}
services:
web:
image: ghcr.io/fragforce/fragforce-prod-web:master
container_name: prod-web
ports:
- "10.22.195.4:8000:8000"
environment:
TZ: "Etc/UTC"
DJANGO_LOG_LEVEL: "DEBUG"
env_file: ./.env
command: [ "gunicorn", "--log-level", "debug", "--bind=0.0.0.0:8000", "--forwarded-allow-ips", "*", "--proxy-allow-from", "*", "fforg.wsgi" ]
depends_on:
- redis
- db
networks:
- prod-fragforce-org
- swag_bridge
beat:
image: ghcr.io/fragforce/fragforce-prod-beat:master
container_name: prod-beat
env_file: ./.env
depends_on:
- redis
- db
networks:
- prod-fragforce-org
command: [ "uv", "run", "--no-sync", "--no-build", "celery", "-A", "fforg", "worker", "--autoscale=1,1", "--beat", "-E", "-Q", "alerts,celery" ]
worker:
image: ghcr.io/fragforce/fragforce-prod-worker:master
container_name: prod-worker
env_file: ./.env
depends_on:
- redis
- db
networks:
- prod-fragforce-org
command: [ "uv", "run", "--no-sync", "--no-build", "celery", "-A", "fforg", "worker", "--autoscale=6,2", "-E", "-Q", "alerts,celery" ]
redis:
container_name: prod-redis
image: redis
environment:
TZ: "Etc/UTC"
networks:
- prod-fragforce-org
volumes:
- ./redis/data:/data
redis-wat:
container_name: prod-redis-wat
image: redis
environment:
TZ: "Etc/UTC"
networks:
- prod-fragforce-org
volumes:
- ./redis/data-wat:/data
db:
container_name: prod-db
image: postgres:14.8
env_file: .env.postgres
volumes:
- ./postgres/data:/var/lib/postgresql/data
- .:/dump
expose:
- 5432
ports:
- "127.0.0.1:15432:5432"
networks:
- prod-fragforce-org