-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
81 lines (79 loc) · 2.02 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: "3.7"
services:
client:
image: "public.ecr.aws/keysight/cyperf-agent:latest"
container_name: ClientAgent
# mem_limit: "4g"
# mem_reservation: "2g"
# cpus: "2"
# cpuset: "0-1"
# command:
# - /bin/bash
# - -c
# - |
# cyperfagent feature allow_mgmt_iface_for_test disable
environment:
- AGENT_CONTROLLER=44.224.242.39
- AGENT_TAGS="Dockers-Group=CyPerf-Agent-Client,node-owner=CyPerf"
# - AGENT_MANAGEMENT_INTERFACE=eth0
# - AGENT_TEST_INTERFACE=eth1
cap_add:
- NET_ADMIN
- IPC_LOCK
- NET_RAW
networks:
cyperf-mgmt-net:
ipv4_address: 192.168.0.10
# cyperf-test-client-net:
# ipv4_address: 172.32.12.10
server:
image: "public.ecr.aws/keysight/cyperf-agent:latest"
container_name: ServerAgent
# mem_limit: "4g"
# mem_reservation: "2g"
# cpus: "2"
# cpuset: "2-3"
# command:
# - /bin/bash
# - -c
# - |
# cyperfagent feature allow_mgmt_iface_for_test disable
environment:
- AGENT_CONTROLLER=44.224.242.39
- AGENT_TAGS="Dockers-Group=CyPerf-Agent-Server,node-owner=CyPerf"
# - AGENT_MANAGEMENT_INTERFACE=eth0
# - AGENT_TEST_INTERFACE=eth1
cap_add:
- NET_ADMIN
- IPC_LOCK
- NET_RAW
# ports:
# - "80:80"
# - "443:443"
networks:
cyperf-mgmt-net:
ipv4_address: 192.168.0.11
# cyperf-test-server-net:
# ipv4_address: 10.10.10.10
networks:
# cyperf-test-client-net:
# name: cyperf-test-client-net
# driver: macvlan
# driver_opts:
# parent: ens192
# ipam:
# config:
# - subnet: "172.32.12.0/22"
# cyperf-test-server-net:
# name: cyperf-test-server-net
# driver: macvlan
# driver_opts:
# parent: ens224
# ipam:
# config:
# - subnet: "10.10.10.0/24"
cyperf-mgmt-net:
name: cyperf-mgmt-net
ipam:
config:
- subnet: "192.168.0.0/24"