-
Notifications
You must be signed in to change notification settings - Fork 37
/
docker-compose.yml
62 lines (59 loc) · 1.21 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
version: '2.2'
x-srsue:
&ue-settings
build: .
command: "srsue ue.conf.fauxrf"
ipc: "container:virtual-srsenb"
cap_add:
- NET_ADMIN
- SYS_NICE
devices:
- /dev/net/tun
depends_on:
- srsenb
services:
srsepc:
container_name: virtual-srsepc
build: .
command:
- srsepc
- epc.conf
- --mme.mme_bind_addr=10.80.95.10
- --spgw.gtpu_bind_addr=10.80.95.10
networks:
corenet:
ipv4_address: 10.80.95.10
cap_add:
- NET_ADMIN
- SYS_NICE
devices:
- /dev/net/tun
srsenb:
container_name: virtual-srsenb
build: .
command:
- srsenb
- enb.conf.fauxrf
- --enb.mme_addr=10.80.95.10
- --enb.gtp_bind_addr=10.80.95.11
- --enb.s1c_bind_addr=10.80.95.11
- --enb_files.sib_config=sib.conf
networks:
corenet:
ipv4_address: 10.80.95.11
ipc: shareable
cap_add:
- SYS_NICE
srsue:
<< : *ue-settings
container_name: virtual-srsue
# srsue2:
# << : *ue-settings
# container_name: virtual-srsue2
# command: "srsue ue.conf.fauxrf --usim.imsi=001010123456780"
networks:
corenet:
ipam:
driver: default
config:
- subnet: 10.80.95.0/24