-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.production.yml
More file actions
55 lines (48 loc) · 1.18 KB
/
docker-compose.production.yml
File metadata and controls
55 lines (48 loc) · 1.18 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
volumes:
production_postgres_data: {}
production_postgres_data_backups: {}
production_redis_data: {}
services:
django: &django
build:
context: .
dockerfile: ./compose/production/django/Dockerfile
image: ghcr.io/jvacek/flamerelay-django:latest
depends_on:
- postgres
- redis
env_file:
- ./.envs/.production/.django
- ./.envs/.production/.postgres
volumes:
- /srv/flamerelay/media:/app/flamerelay/media
ports:
- '127.0.0.1:8000:5000'
command: /start
postgres:
build:
context: .
dockerfile: ./compose/production/postgres/Dockerfile
image: ghcr.io/jvacek/flamerelay-postgres:latest
volumes:
- production_postgres_data:/var/lib/postgresql/18/docker
- production_postgres_data_backups:/backups
env_file:
- ./.envs/.production/.postgres
redis:
image: docker.io/redis:7.2
volumes:
- production_redis_data:/data
celeryworker:
<<: *django
ports: []
command: /start-celeryworker
celerybeat:
<<: *django
ports: []
command: /start-celerybeat
flower:
<<: *django
ports:
- '127.0.0.1:5556:5555'
command: /start-flower