generated from nhs-england-tools/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
71 lines (66 loc) · 1.95 KB
/
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
name: communication-management
services:
# External Dependencies
azurite:
container_name: azurite
image: mcr.microsoft.com/azure-storage/azurite
command: azurite --silent
network_mode: host
profiles:
- test
azurite-setup:
container_name: azurite-setup
build:
context: ./
dockerfile: ./dependencies/azurite/Dockerfile
network_mode: host
depends_on:
- azurite
environment:
- AZURITE_CONNECTION_STRING=${AZURITE_CONNECTION_STRING}
- BLOB_CONTAINER_NAME=${BLOB_CONTAINER_NAME}
profiles:
- test
# Functions
notify:
container_name: notify
network_mode: host
build:
context: ./src/functions/notify/
additional_contexts:
root_dir: .
dockerfile: Dockerfile
environment:
- AzureWebJobsStorage=UseDevelopmentStorage=true
- ASPNETCORE_URLS=http://*:7072
- NOTIFY_API_URL=${NOTIFY_API_URL}
- OAUTH2_API_KEY=${OAUTH2_API_KEY}
- OAUTH2_API_KID=${OAUTH2_API_KID}
- OAUTH2_TOKEN_URL=${OAUTH2_TOKEN_URL}
- PRIVATE_KEY=${PRIVATE_KEY}
process-pilot-data:
container_name: process-pilot-data
network_mode: host
build:
context: ./src/functions/process_pilot_data/
additional_contexts:
root_dir: .
dockerfile: Dockerfile
environment:
- AzureWebJobsStorage=UseDevelopmentStorage=true
- ASPNETCORE_URLS=http://*:7071
- FUNCTIONS_WORKER_RUNTIME=python
- BLOB_CONTAINER_NAME=${BLOB_CONTAINER_NAME}
- CONTACT_TELEPHONE_NUMBER=${CONTACT_TELEPHONE_NUMBER}
- NOTIFY_FUNCTION_URL=${NOTIFY_FUNCTION_URL}
status-callback:
container_name: status-callback
network_mode: host
build:
context: ./src/functions/status_callback/
dockerfile: Dockerfile
environment:
- AzureWebJobsStorage=UseDevelopmentStorage=true
- ASPNETCORE_URLS=http://*:7073
- APPLICATION_ID=${APPLICATION_ID}
- OAUTH2_API_KEY=${OAUTH2_API_KEY}