forked from CroceRossaItaliana/jorvik
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (45 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
51 lines (45 loc) · 1.04 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
version: '3'
services:
db:
image: mdillon/postgis
ports:
- "5432:5432"
web:
build: .
volumes:
- .:/code
- /tmp/media:/tmp/media
ports:
- "8000:8000"
links:
- db
- pdf
- broker
depends_on:
- db
- pdf
- selenium
hostname: web
environment:
- "DJANGO_LIVE_TEST_SERVER_ADDRESS=web:8081-8181"
selenium:
image: selenium/standalone-firefox-debug
ports:
- "5900:5900" # VNC (debugging)
broker:
image: redis
ports:
- "6379:6379" # Redis TCP
celery:
build: .
volumes:
- .:/code
- /tmp/media:/tmp/media
depends_on:
- broker
environment:
- "SKIP_DJANGO_COLLECSTATIC=1"
- "SKIP_DJANGO_MIGRATE=1"
command: "celery worker -b redis://broker -A jorvik -l info -Q queue_monitoraggio,queue_formazione,coda_email_rischedula,coda_email_invio,queue_monitoraggio,periodic_ufficio_soci,shared_ufficio_soci -B"
pdf:
build: https://github.com/CroceRossaItaliana/gaia-dompdf.git#master