-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (78 loc) · 1.67 KB
/
Copy pathdocker-compose.yml
File metadata and controls
79 lines (78 loc) · 1.67 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
services:
gnb:
build:
context: .
dockerfile: Dockerfile.gnb
container_name: gnb
privileged: true
network_mode: host
cap_add:
- NET_ADMIN
volumes:
- ./gnb_data/start.sh:/app/start.sh
- ./gnb_data/open5gs-gnb.yaml:/UERANSIM/config/open5gs-gnb.yaml
ue1:
build:
context: .
dockerfile: Dockerfile.ue
container_name: ue1
privileged: true
cap_add:
- SYS_PTRACE # allows certain memory operations
security_opt:
- seccomp:unconfined
networks:
- uenet
ports:
- "8000:9111"
volumes:
- ./ue1_data:/app
- ./ue1_data/open5gs-ue1.yaml:/UERANSIM/config/open5gs-ue1.yaml
ue2:
build:
context: .
dockerfile: Dockerfile.ue
container_name: ue2
privileged: true
cap_add:
- NET_ADMIN
networks:
- uenet
ports:
- "8001:9111"
volumes:
- ./ue2_data:/app
- ./ue2_data/open5gs-ue2.yaml:/UERANSIM/config/open5gs-ue2.yaml
ue3:
build:
context: .
dockerfile: Dockerfile.ue
container_name: ue3
privileged: true
cap_add:
- NET_ADMIN
networks:
- uenet
ports:
- "8002:9111"
volumes:
- ./ue3_data:/app
- ./ue3_data/open5gs-ue3.yaml:/UERANSIM/config/open5gs-ue3.yaml
# ue4:
# build:
# context: .
# dockerfile: Dockerfile.ue
# container_name: ue4
# privileged: true
# cap_add:
# - NET_ADMIN
# networks:
# - uenet
# ports:
# - "8003:9111"
# volumes:
# - ./ue4_data:/app
# - ./ue4_data/open5gs-ue4.yaml:/UERANSIM/config/open5gs-ue4.yaml
networks:
uenet:
driver: bridge