-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
60 lines (56 loc) · 1.67 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
version: "2"
services:
app:
build: .
environment:
- HOST=localhost
- PORT=3000
- CLAMAV_REST_URL=http://clamav-rest:8080/scan
- AWS_ACCESS_KEY_ID=aws-access-key-id
- AWS_SECRET_ACCESS_KEY=aws-secret-access-key
- AWS_REGION=eu-west-1
- AWS_SIGNATURE_VERSION=v4
- AWS_BUCKET=aws-bucket
- AWS_EXPIRY_TIME=600
- NODE_ENV=development
ports:
- "3000:3000"
nginx-proxy:
image: quay.io/ukhomeofficedigital/nginx-proxy:v1.5.1
environment:
- PROXY_SERVICE_HOST=proxy
- PROXY_SERVICE_PORT=3001
- 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;
- ERROR_REDIRECT_CODES=599
ports:
- "443:443"
- "80:80"
proxy:
image: quay.io/ukhomeofficedigital/go-keycloak-proxy:v2.0.1
environment:
- PROXY_CLIENT_SECERT=proxy-client-secret
- PROXY_CLIENT_ID=proxy-client-id
- PROXY_DISCOVERY_URL=realm-url
- PROXY_LISTEN=proxy:3001
- PROXY_REDIRECTION_URL=https://localhost
- PROXY_UPSTREAM_URL=http://app:3000
- PROXY_REVOCATION_URL=revocation-url
entrypoint:
- /opt/keycloak-proxy
- --resources=uri=/|methods=GET|roles=caseworkers
- --log-requests=true
- --json-format=true
- --verbose
ports:
- "3001:3001"
clamav-server:
image: mkodockx/docker-clamav
ports:
- "3310:3310"
clamav-rest:
image: lokori/clamav-rest
environment:
- CLAMD_HOST=clamav-server
ports:
- "8080:8080"