-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (47 loc) · 1.14 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
44
45
46
47
48
version: '3.9'
services:
TcpStressTestingMaster:
image: tcp-stress-testing:${IMAGE_VERSION}
container_name: TcpStressTestingMaster
build:
context: ./
dockerfile: ./Dockerfile
deploy:
resources:
limits:
memory: 500M
restart: unless-stopped
environment:
- OPTS=-config config/application_config_jzy_master.json
ports:
- "5010:5010"
TcpStressTestingWork1:
image: tcp-stress-testing:${IMAGE_VERSION}
container_name: TcpStressTestingWork1
build:
context: ./
dockerfile: ./Dockerfile
deploy:
resources:
limits:
memory: 500M
restart: unless-stopped
environment:
- OPTS=-config config/application_config_jzy_worker1.json
ports:
- "5011:5011"
TcpStressTestingWork2:
image: tcp-stress-testing:${IMAGE_VERSION}
container_name: TcpStressTestingWork2
build:
context: ./
dockerfile: ./Dockerfile
deploy:
resources:
limits:
memory: 500M
restart: unless-stopped
environment:
- OPTS=-config config/application_config_jzy_worker2.json
ports:
- "5012:5012"