forked from open-zaak/open-zaak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (48 loc) · 1.36 KB
/
docker-compose.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
# This is a compose file inteded for trying out the project locally and absolutely
# not suitable for production usage. The configuration here contains non-safe defaults.
#
# If you want to try out CMIS with Alfresco, see docker-compose.alfresco.yml
version: '3.4'
services:
db:
image: mdillon/postgis
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
command: postgres -c max_connections=300 -c log_min_messages=LOG
volumes:
- ./docker/postgres.entrypoint-initdb.d:/docker-entrypoint-initdb.d:ro
- db:/var/lib/postgresql/data
ports:
- "11234:5432"
redis:
image: redis
web:
build: .
image: openzaak/open-zaak:latest
environment:
- DJANGO_SETTINGS_MODULE=openzaak.conf.docker
- SECRET_KEY=${SECRET_KEY:-7(h1r2hk)8z9+05edulo_3qzymwbo&c24=)qz7+_@3&2sp=u%i}
- DB_NAME=openzaak
- DB_USER=openzaak
- IS_HTTPS=no
- ALLOWED_HOSTS=*
- CACHE_DEFAULT=redis:6379/0
- CACHE_AXES=redis:6379/0
- SUBPATH=${SUBPATH:-/}
- OPENZAAK_SUPERUSER_USERNAME=admin
- DJANGO_SUPERUSER_PASSWORD=admin
- OPENZAAK_SUPERUSER_EMAIL=admin@localhost
ports:
- 8000:8000
depends_on:
- db
nginx:
image: nginx
volumes:
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
ports:
- "9000:80"
depends_on:
- web
volumes:
db: