generated from DEFRA/ffc-template-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
26 lines (25 loc) · 1.08 KB
/
docker-compose.yaml
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
services:
ffc-ffd-auth:
build:
context: .
target: production
image: ffc-ffd-auth
container_name: ffc-ffd-auth
environment:
APPINSIGHTS_CLOUDROLE: ffc-ffd-auth-local
APPINSIGHTS_CONNECTIONSTRING: ${APPINSIGHTS_CONNECTIONSTRING}
GATEWAY_HOST: ${GATEWAY_HOST:-http://localhost:3000}
DEFRA_ID_ENABLED: ${DEFRA_ID_ENABLED:-false}
DEFRA_ID_WELL_KNOWN_URL: ${DEFRA_ID_WELL_KNOWN_URL}
DEFRA_ID_CLIENT_ID: ${DEFRA_ID_CLIENT_ID}
DEFRA_ID_CLIENT_SECRET: ${DEFRA_ID_CLIENT_SECRET}
DEFRA_ID_SERVICE_ID: ${DEFRA_ID_SERVICE_ID}
DEFRA_ID_POLICY: ${DEFRA_ID_POLICY}
DEFRA_ID_REDIRECT_URL: ${DEFRA_ID_REDIRECT_URL:-http://localhost:3000/auth/sign-in-oidc}
DEFRA_ID_POST_LOGOUT_REDIRECT_URL: ${DEFRA_ID_POST_LOGOUT_REDIRECT_URL:-http://localhost:3000/auth/sign-out-oidc}
DEV_AUTH_PRIVATE_KEY: ${DEV_AUTH_PRIVATE_KEY}
DEV_AUTH_PUBLIC_KEY: ${DEV_AUTH_PUBLIC_KEY}
REDIS_HOST: ffc-ffd-auth-redis
COOKIE_PASSWORD: the-password-must-be-at-least-32-characters-long
ffc-ffd-auth-redis:
image: redis:6.2.7