-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
69 lines (68 loc) · 1.62 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
61
62
63
64
65
66
67
68
69
name: backend
services:
task-definitions:
container_name: task-definitions
image: public.ecr.aws/zebrunner/task-definitions:3.1.1
env_file:
- ./properties/config.env
- ./properties/task-definitions.env
- ./properties/data.env
networks:
- service-network
restart: always
# volumes:
# - "${HOME}/.aws:/root/.aws"
scaler:
container_name: scaler
image: public.ecr.aws/zebrunner/scaler:3.1.1
env_file:
- ./properties/config.env
- ./properties/scaler.env
- ./properties/data.env
networks:
- service-network
restart: always
# volumes:
# - "${HOME}/.aws:/root/.aws"
router_1:
container_name: router_1
image: public.ecr.aws/zebrunner/router:3.1.1
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"
networks:
- service-network
restart: always
# volumes:
# - "${HOME}/.aws:/root/.aws"
router_2:
container_name: router_2
image: public.ecr.aws/zebrunner/router:3.1.1
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"
networks:
- service-network
restart: always
# volumes:
# - "${HOME}/.aws:/root/.aws"
networks:
service-network:
external: true
name: e3s-network