This repository has been archived by the owner on Oct 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
69 lines (68 loc) · 1.84 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
version: '3'
services:
chrome-driver:
image: vulnerablepeopleservice/chrome-driver:latest
volumes:
- ./behave:/usr/src/app
command: bash
environment:
WEB_APP_BASE_URL: http://webform:5000
POSTCODE_TIER_OVERRIDE: '{"TE22RR" : {"tier": 2, "shielding": 0}, "TE33RR": {"tier": 3, "shielding": 0 }, "TE44RR": {"tier": 4, "shielding": 1}, "TS33RR": {"tier": 3, "shielding": 1}}'
NHS_BASE_URL: https://access.sandpit.signin.nhs.uk
NHS_EMAIL:
NHS_PASSWORD:
NHS_OTP:
ports:
- "8081:8081"
links:
- "webform"
webform:
build:
dockerfile: Dockerfile
context: .
ports:
- "5000:5000"
links:
- "rds-client-api"
- "ons-test"
- "sqs-client-api"
volumes:
- .:/app
ons-test:
build:
dockerfile: Dockerfile
context: tests/ons-mock
ports:
- "8000:8000"
coronavirus-mysql-pytest:
image: mysql:5.6
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: coronavirus
ports:
- "3306:3306"
rds-client-api:
image: koxudaxi/local-data-api
restart: always
links:
- "coronavirus-mysql-pytest"
environment:
MYSQL_HOST: coronavirus-mysql-pytest
MYSQL_PORT: 3306
MYSQL_USER: root
MYSQL_PASSWORD: password
RESOURCE_ARN: 'arn:aws:rds:eu-west-2:123456789012:cluster:dummy'
SECRET_ARN: 'arn:aws:secretsmanager:eu-west-2:123456789012:secret:dummy'
ports:
- "8080:80"
sqs-client-api:
image: localstack/localstack
ports:
- "4566:4566"
environment:
- SERVICES=sqs
- AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
- AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
- AWS_DEFAULT_REGION=eu-west-2
volumes:
- ./scripts/create-sqs-queue.sh:/docker-entrypoint-initaws.d/create-sqs-queue.sh