-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
108 lines (98 loc) · 2.41 KB
/
Copy pathdocker-compose.yml
File metadata and controls
108 lines (98 loc) · 2.41 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
services:
controller:
image: ghcr.io/oran-testing/controller
volumes:
# Pass in the docker soket for starting rtue
- /var/run/docker.sock:/var/run/docker.sock
# Allow results writing to host machine
- /tmp:/tmp
# Allow access to system level docker configuration
- /root/.docker:/root/.docker
# Allow access to all configurations under the current directory
- ${DOCKER_SYSTEM_DIRECTORY}:/host:rw
# Allow access to /usr/share to check for images
- /usr/share:/usr/share:ro
environment:
- DOCKER_HOST=unix:///var/run/docker.sock
- CONFIG=${DOCKER_CONTROLLER_INIT_CONFIG:-configs/basic_ue_zmq.yaml}
privileged: true
build:
context: controller
env_file:
- .env
networks:
metrics:
ipv4_address: 172.19.1.7
control:
ipv4_address: 172.20.1.7
configs:
- controller.yml
ports:
# WARNING: Exposes control API
- "1343:1343"
depends_on:
- influxdb
tty: true
stdin_open: true
mcp-server:
build:
context: ./mcp_server
dockerfile: Dockerfile
container_name: mcp-server
volumes:
- ${DOCKER_SYSTEM_DIRECTORY}/configs:/host/configs:ro
environment:
- CONTROLLER_URL=http://controller:1343
- CONTROLLER_TOKEN=${MCP_CONTROLLER_TOKEN}
- CONFIGS_DIR=/host/configs
- LOG_LEVEL=${MCP_LOG_LEVEL:-INFO}
networks:
- control
depends_on:
- controller
stdin_open: true
tty: true
influxdb:
container_name: influxdb
image: influxdb:${DOCKER_INFLUXDB_VERSION}
volumes:
- influxdb-storage:/var/lib/influxdb2:rw
env_file:
- .env
ports:
- 8086:${DOCKER_INFLUXDB_INIT_PORT}
networks:
metrics:
ipv4_address: 172.19.1.5
grafana:
image: ghcr.io/oran-testing/grafana
build:
context: grafana
volumes:
- grafana-storage:/var/lib/grafana:rw
env_file:
- .env
ports:
- 3300:${GRAFANA_PORT}
networks:
metrics:
ipv4_address: 172.19.1.6
depends_on:
- influxdb
configs:
controller.yml:
file: ${DOCKER_CONTROLLER_INIT_CONFIG:-configs/multi_ue_uhd.yaml}
volumes:
influxdb-storage:
grafana-storage:
networks:
metrics:
name: rt_metrics
ipam:
config:
- subnet: 172.19.1.0/24
control:
name: rt_control
ipam:
config:
- subnet: 172.20.1.0/24