-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.tasks.yml
43 lines (41 loc) · 1.04 KB
/
docker-compose.tasks.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
services:
task-base:
container_name: pctasks-task-base
image: pctasks-task-base
build:
context: .
dockerfile: Dockerfile.task_base
environment:
- AZURE_TENANT_ID=${tenantId}
- AZURE_CLIENT_ID=${servicePrincipalId}
- AZURE_CLIENT_SECRET=${servicePrincipalKey}
volumes:
- ./pctasks:/opt/src
ingest:
container_name: pctasks-ingest
image: pctasks-ingest
build:
context: pctasks
dockerfile: ingest_task/Dockerfile
environment:
- AZURE_TENANT_ID=${tenantId}
- AZURE_CLIENT_ID=${servicePrincipalId}
- AZURE_CLIENT_SECRET=${servicePrincipalKey}
volumes:
- ./pctasks:/opt/src
run:
container_name: pctasks-run
image: pctasks-run
build:
context: pctasks
dockerfile: run/Dockerfile
environment:
- AZURE_TENANT_ID=${tenantId}
- AZURE_CLIENT_ID=${servicePrincipalId}
- AZURE_CLIENT_SECRET=${servicePrincipalKey}
volumes:
- ./pctasks:/opt/src
networks:
default:
name: pctasks-network
external: true