-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
47 lines (44 loc) · 1.32 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=development
- TRANSPORT_SECURE=false
- TRANSPORT_IGNORE_TLS=true
- TRANSPORT_HOST=maildev
- TRANSPORT_PORT=25
- REDIS_HOST=redis
- REDIS_PORT=6379
- SESSION_SECRET=test
- EMAIL_TRANSPORT=smtp
links:
- redis
ports:
- "8080:8080"
volumes:
- "/public"
redis:
image: redis
nginx-proxy:
image: quay.io/ukhomeofficedigital/nginx-proxy:v1.5.1
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"