-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.notificaties-api.dev.yml
70 lines (63 loc) · 1.8 KB
/
docker-compose.notificaties-api.dev.yml
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
version: '3.8'
services:
notifications-redis:
image: redis
networks:
- notifications-backend
notifications-db:
image: postgres:11-alpine
environment:
- POSTGRES_PASSWORD=
- POSTGRES_HOST_AUTH_METHOD=trust
networks:
- notifications-backend
notifications-rabbitmq:
image: rabbitmq:3.7-alpine
# environment:
# - RABBITMQ_DEFAULT_USER=guest
# - RABBITMQ_DEFAULT_PASS=guest
networks:
- notifications-backend
notifications:
image: openzaak/open-notificaties
environment: ¬ifications-env
- DJANGO_SETTINGS_MODULE=nrc.conf.docker
- SECRET_KEY=${SECRET_KEY:-y8=ynp!*&3z6!0ujpg$$0nry%j#1z2@%hq9+1doh1bl+86w)730}
- DB_HOST=notifications-db
- IS_HTTPS=no
- ALLOWED_HOSTS=*
- CACHE_DEFAULT=redis:6379/1
- CACHE_AXES=redis:6379/1
- RABBITMQ_HOST=notifications-rabbitmq
- PUBLISH_BROKER_URL=amqp://guest:guest@notifications-rabbitmq:5672/%2F
- CELERY_BROKER_URL=amqp://guest:guest@notifications-rabbitmq:5672//
- CELERY_RESULT_BACKEND=redis://redis:6379/2
- CELERY_LOGLEVEL=DEBUG
- CELERY_WORKER_CONCURRENCY=${CELERY_WORKER_CONCURRENCY:-2}
- DEBUG=yes
volumes:
- ./docker/notifications/fixtures:/app/fixtures
ports:
- 9005:8000
networks:
- notifications-backend
- zaakbrug-stack
depends_on:
- notifications-db
- notifications-rabbitmq
- notifications-redis
notifications-celery:
image: openzaak/open-notificaties
environment: *notifications-env
command: /celery_worker.sh
depends_on:
- notifications-db
- notifications-rabbitmq
- notifications-redis
networks:
- notifications-backend
volumes:
notifications-db:
networks:
zaakbrug-stack:
notifications-backend: