-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
53 lines (48 loc) · 1.57 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
version: "3.9"
services:
flexric:
image: flexric
container_name: Flexric
privileged: true
networks:
- flexric_connection
stdin_open: true
tty: true
command: sh -c "sed -ie 's/127.0.0.1/'$(hostname -i)'/' flexric/flexric.conf && ./flexric/build/examples/ric/nearRT-RIC -c ./flexric/flexric.conf"
cu:
image: flexric
container_name: Cu
privileged: true
networks:
- flexric_connection
stdin_open: true
tty: true
command: sh -c "sed -ie 's/127.0.0.1/'$(nslookup Flexric | grep -o '.........2$')'/' flexric/flexric.conf && ./flexric/build/examples/emulator/agent/emu_agent_gnb_cu -c flexric/flexric.conf"
depends_on:
- flexric
du:
image: flexric
privileged: true
container_name: Du
networks:
- flexric_connection
stdin_open: true
tty: true
command: sh -c "sed -ie 's/127.0.0.1/'$(nslookup Flexric | grep -o '.........2$')'/' flexric/flexric.conf && ./flexric/build/examples/emulator/agent/emu_agent_gnb_du -c flexric/flexric.conf"
depends_on:
- flexric
oai:
image: oai
privileged: true
container_name: Oai
networks:
- flexric_connection
stdin_open: true
tty: true
command: sh -c "sed -ie 's/127.0.0.1/'$(nslookup Flexric | grep -o '.........2$')'/' ../usr/local/etc/flexric/flexric.conf && sudo oai/cmake_targets/ran_build/build/nr-softmodem -O oai/targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf --sa -E --continuous-tx"
depends_on:
- flexric
volumes:
- "/dev/bus/usb:/dev/bus/usb"
networks:
flexric_connection: