forked from DNXLabs/docker-ecs-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (39 loc) · 1.09 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
version: '3.4'
services:
deploy:
build: .
image: public.ecr.aws/dnxsolutions/ecs-deploy:latest
env_file:
- .env
volumes:
- ./templates/task-definition.tpl-default.json:/work/task-definition.tpl.json
cutover:
build: .
image: public.ecr.aws/dnxsolutions/ecs-deploy:latest
env_file:
- .env
command: /work/deploy-cutover.py
run-task:
build: .
image: public.ecr.aws/dnxsolutions/ecs-deploy:latest
env_file:
- .env
command: /work/run-task.py
volumes:
- ./templates/task-definition.tpl-default.json:/work/task-definition.tpl.json
worker-deploy:
build: .
image: public.ecr.aws/dnxsolutions/ecs-deploy:latest
env_file:
- .env
command: /work/worker-deploy.py
volumes:
- ./templates/task-definition.tpl-default.json:/work/task-definition.tpl.json
ecr-scan:
build: .
image: public.ecr.aws/dnxsolutions/ecs-deploy:latest
env_file:
- .env
command: /work/ecr-enhanced-scanning.py
volumes:
- ./templates/task-definition.tpl-default.json:/work/task-definition.tpl.json