-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
60 lines (60 loc) · 1.48 KB
/
docker-compose.yaml
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
name: backend
services:
task-definitions:
container_name: task-definitions
image: public.ecr.aws/zebrunner/task-definitions:3.1.2
env_file:
- ./properties/config.env
- ./properties/task-definitions.env
- ./properties/data.env
restart: always
scaler:
container_name: scaler
image: public.ecr.aws/zebrunner/scaler:3.1.2
env_file:
- ./properties/config.env
- ./properties/scaler.env
- ./properties/data.env
restart: always
depends_on:
- migration
router_1:
container_name: router_1
image: public.ecr.aws/zebrunner/router:3.1.2
environment:
- EXTERNAL_PORT=$ROUTER_PORT_1
env_file:
- ./properties/config.env
- ./properties/router.env
- ./properties/data.env
ports:
- "$ROUTER_PORT_1:4444"
logging:
options:
max-size: "512m"
restart: always
depends_on:
- task-definitions
router_2:
container_name: router_2
image: public.ecr.aws/zebrunner/router:3.1.2
environment:
- EXTERNAL_PORT=$ROUTER_PORT_2
env_file:
- ./properties/config.env
- ./properties/router.env
- ./properties/data.env
ports:
- "$ROUTER_PORT_2:4444"
logging:
options:
max-size: "512m"
restart: always
depends_on:
- task-definitions
migration:
image: public.ecr.aws/zebrunner/migration:2.0
container_name: migration
env_file:
- ./properties/data.env
- ./properties/migration.env