-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
61 lines (56 loc) · 1.65 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
55
56
57
58
59
60
61
version: "2"
services:
app:
build: .
environment:
- NODE_ENV=development
- EMAIL_TRANSPORT=smtp
- EMAIL_HOST=maildev
- IGNORE_TLS=true
- EMAIL_SECURE=false
- EMAIL_PORT=25
- REDIS_HOST=redis
- REDIS_PORT=6379
- PDF_CONVERTER_URL=http://html-pdf-converter:8001/convert
links:
- redis
- maildev
- html-pdf-converter
ports:
- "8080:8080"
volumes:
- "/public"
redis:
image: redis
nginx-proxy:
image: quay.io/ukhomeofficedigital/nginx-proxy-govuk:v3.0.0.0
environment:
- PROXY_SERVICE_HOST=app
- PROXY_SERVICE_PORT=8080
- NAXSI_USE_DEFAULT_RULES=FALSE
- CLIENT_MAX_BODY_SIZE=200
- 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:10443"
- "80:10080"
links:
- app
volumes_from:
- app
maildev:
image: djfarrelly/maildev
ports:
- "8000:80"
- "25"
html-pdf-converter:
image: quay.io/ukhomeofficedigital/html-pdf-converter:01442cbca45c8c1965a64f680d8fab95998e5238
environment:
- CHROME_HOST=chrome
ports:
- "8001:8001"
links:
- chrome
chrome:
image: yukinying/chrome-headless