-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose-srslte-epc.yaml
135 lines (135 loc) · 2.64 KB
/
docker-compose-srslte-epc.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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
version: '3'
services:
mongodb:
image: mongo:latest
container_name: "mongodb"
hostname: mongodb
ports:
- "27017:27017"
networks:
epc-network:
ipv4_address: 192.168.24.10
mongo-gui:
build: webui
image: aahad91/epc-webui
container_name: "webui"
depends_on:
- mongodb
ports:
- "3000:3000"
environment:
DB_URI: mongodb://mongodb:27017/open5gs
entrypoint:
- "/bin/bash"
- "./start.sh"
tty: true
networks:
epc-network:
ipv4_address: 192.168.24.30
imsi-loader:
build: mongodb
image: aahad91/mongodbloader
container_name: "imsi-loader"
depends_on:
- mongo-gui
entrypoint:
- "/bin/sh"
- "./start.sh"
networks:
epc-network:
ipv4_address: 192.168.24.50
epc:
build: base1
image: aahad91/epc-base
depends_on:
- mongodb
- mongo-gui
hostname: epc
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
environment:
DB_URI: mongodb://mongodb:27017/open5gs
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
- net.ipv4.conf.all.forwarding=1
entrypoint:
- "/bin/bash"
- "./start.sh"
tty: true
networks:
epc-network:
ipv4_address: 192.168.24.20
test-network:
ipv4_address: 192.168.30.20
enb:
build: srsLTE
image: aahad91/epc-enb
container_name: enb
depends_on:
- epc
ipc: shareable
cap_add:
- SYS_NICE
entrypoint:
- "/bin/bash"
- "./start_enb.sh"
tty: true
networks:
epc-network:
ipv4_address: 192.168.24.40
ue:
build: srsLTE
image: aahad91/epc-ue
container_name: ue
depends_on:
- enb
ipc: "container:enb"
cap_add:
- SYS_NICE
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
#network_mode: "none"
tty: true
entrypoint:
- "/bin/bash"
- "./start_ue.sh"
networks:
dummy-network:
ipv4_address: 192.168.50.10
test-server:
build: iperfSRV
image: aahad91/iperfsrv
container_name: test-server
depends_on:
- ue
tty: true
cap_add:
- NET_ADMIN
entrypoint:
- "/bin/bash"
- "./start.sh"
networks:
test-network:
ipv4_address: 192.168.30.10
networks:
epc-network:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.24.0/24
test-network:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.30.0/24
dummy-network:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.50.0/24