-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
73 lines (72 loc) · 2.71 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
62
63
64
65
66
67
68
69
70
71
72
73
services:
localstack:
container_name: localstack
image: localstack/localstack:3.0.0
ports:
- "4566:4566"
- "4569:4569"
environment:
- SERVICES=kms,sns,dynamodb,sqs,stepfunctions
- LOCALSTACK_HOST=localhost
- DYNAMODB_SHARE_DB=1 # Removes regions and allows NoSQL Workbench to work.
- DEBUG=${DEBUG:-0}
- AWS_ACCESS_KEY_ID=na
- AWS_SECRET_ACCESS_KEY=na
- MY_ONE_LOGIN_USER_ID=${MY_ONE_LOGIN_USER_ID}
- AWS_DEFAULT_REGION=eu-west-2
volumes:
- ./seed.yaml:/init/seed.yaml
- ./localstack/provision.sh:/etc/localstack/init/ready.d/init-aws.sh
- "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack"
- ./tmp/keys:/tmp/keys
account-management-frontend:
container_name: account-management-frontend
build:
context: .
dockerfile: local.Dockerfile
ports:
- "6001:6001"
- "9240:9230"
- "9229:9229"
volumes:
- ./:/app
- ./tmp/keys:/tmp/keys
environment:
- AUTH_FRONTEND_URL=${AUTH_FRONTEND_URL}
- API_BASE_URL=${API_BASE_URL}
- BASE_URL=${BASE_URL}
- OIDC_CLIENT_ID=${OIDC_CLIENT_ID}
- OIDC_CLIENT_SCOPES=${OIDC_CLIENT_SCOPES}
- AM_API_BASE_URL=${AM_API_BASE_URL}
- AM_YOUR_ACCOUNT_URL=${AM_YOUR_ACCOUNT_URL}
- SESSION_EXPIRY=${SESSION_EXPIRY}
- SESSION_SECRET=${SESSION_SECRET}
- GOV_ACCOUNTS_PUBLISHING_API_URL=${GOV_ACCOUNTS_PUBLISHING_API_URL}
- GOV_ACCOUNTS_PUBLISHING_API_TOKEN=${GOV_ACCOUNTS_PUBLISHING_API_TOKEN}
- ANALYTICS_COOKIE_DOMAIN=${ANALYTICS_COOKIE_DOMAIN}
- GTM_ID=${GTM_ID}
- DELETE_TOPIC_ARN=${DELETE_TOPIC_ARN}
- SUSPICIOUS_TOPIC_ARN=${SUSPICIOUS_TOPIC_ARN}
- SUPPORT_LANGUAGE_CY=${SUPPORT_LANGUAGE_CY}
- SERVICE_STORE_TABLE_NAME=${SERVICE_STORE_TABLE_NAME}
- ACTIVITY_LOG_STORE_TABLE_NAME=${ACTIVITY_LOG_STORE_TABLE_NAME}
- SESSION_STORE_TABLE_NAME=${SESSION_STORE_TABLE_NAME}
- SUPPORT_ACTIVITY_LOG=${SUPPORT_ACTIVITY_LOG}
- DEBUG=express-session
- LOCALSTACK_HOSTNAME=localstack
- AWS_REGION=${AWS_REGION}
- AUDIT_QUEUE_URL=http://localstack:4566/audit-events
- GENERATOR_KEY=${GENERATOR_KEY}
- WRAPPING_KEY=${WRAPPING_KEY}
- ACCOUNT_ID=${ACCOUNT_ID}
- ENVIRONMENT=${ENVIRONMENT}
- VERIFY_ACCESS_VALUE=${VERIFY_ACCESS_VALUE}
- METHOD_MANAGEMENT_BASE_URL=${METHOD_MANAGEMENT_BASE_URL}
- SUPPORT_ADD_BACKUP_MFA=${SUPPORT_ADD_BACKUP_MFA}
- SUPPORT_METHOD_MANAGEMENT=${SUPPORT_METHOD_MANAGEMENT}
- SUPPORT_CHANGE_MFA=${SUPPORT_CHANGE_MFA}
- ACCESSIBILITY_STATEMENT_URL=${ACCESSIBILITY_STATEMENT_URL}
restart: on-failure
depends_on:
localstack:
condition: service_healthy