-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
46 lines (44 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
version: "2"
services:
app:
build: .
environment:
- NODE_ENV=production
- EMAIL_IGNORE_TLS=true
- EMAIL_HOST=maildev
- EMAIL_PORT=25
- NOTIFY_KEY=hof_test-89548f6c-39cd-4acb-851c-1f4ffa2e479b-28426e56-443a-4ba4-98ed-fb576e717ed9
- REDIS_HOST=redis
- REDIS_PORT=6379
- SESSION_SECRET=adsasdasd
# - DEBUG=email
links:
- redis
- maildev
ports:
- "8080:8080"
volumes:
- "/public"
redis:
image: redis
nginx-proxy:
image: quay.io/ukhomeofficedigital/nginx-proxy:latest
environment:
- PROXY_SERVICE_HOST=app
- PROXY_SERVICE_PORT=8080
- NAXSI_USE_DEFAULT_RULES=FALSE
- ADD_NGINX_SERVER_CFG=add_header Cache-Control private;add_header X-Frame-Options "SAMEORIGIN" always;add_header X-Content-Type-Options "nosniff" always;add_header X-XSS-Protection "1; mode=block" always;location /public {add_header Cache-Control max-age=86400;add_header X-Frame-Options "SAMEORIGIN" always;add_header X-Content-Type-Options "nosniff" always;add_header X-XSS-Protection "1; mode=block" always;alias /public;}
- ERROR_REDIRECT_CODES=599
ports:
- "443:443"
- "80:80"
links:
- app
volumes_from:
- app
maildev:
image: djfarrelly/maildev
ports:
- "8000:80"
- "25"