-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
53 lines (49 loc) · 1.21 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
version: "2"
services:
modern-slavery-main:
build:
context: .
dockerfile: Dockerfile-acceptance
environment:
- ALLOW_SKIP=true
- NOTIFY_STUB=true
- NODE_ENV=local
- IGNORE_TLS=true
- REDIS_HOST=redis
- REDIS_PORT=6379
links:
- redis
- chrome-browser:chrome
ports:
- "8081:8081"
volumes:
- "/app/public"
user: nodejs
container_name: modern-slavery-app
chrome-browser:
build: ./browsers/chrome
shm_size: '1gb'
cap_add:
- SYS_ADMIN
ports:
- '9222:9222'
volumes:
- ./acceptance-test/user-pathways/upload-file/images:/app/public/images
container_name: modern-slavery-chrome-browser
redis:
image: redis
container_name: modern-slavery-redis
nginx-proxy:
image: quay.io/ukhomeofficedigital/nginx-proxy:v3
environment:
- PROXY_SERVICE_HOST=modern-slavery-main
- PROXY_SERVICE_PORT=8081
- NAXSI_USE_DEFAULT_RULES=FALSE
- ERROR_REDIRECT_CODES=599
ports:
- "443:10443"
- "80:10080"
links:
- modern-slavery-main