-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
95 lines (95 loc) · 1.98 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
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
version: "2.2"
services:
mongo:
image: mongo
volumes:
- ./database:/data/db
networks:
net1:
ipv4_address: 192.188.2.10
amf:
build: amf
depends_on:
- mongo
networks:
net1:
ipv4_address: 192.188.2.2
upf:
build: upf
privileged: true
depends_on:
- amf
- mongo
volumes:
- "/dev/net/tun:/dev/net/tun"
cap_add:
- NET_ADMIN
networks:
net1:
ipv4_address: 192.188.2.6
smf:
build: smf
depends_on:
- mongo
- upf
networks:
net1:
ipv4_address: 192.188.2.4
hss:
build: hss
depends_on:
- mongo
networks:
net1:
ipv4_address: 192.188.2.3
pcrf:
build: pcrf
depends_on:
- mongo
- smf
networks:
net1:
ipv4_address: 192.188.2.5
webapp:
build: webapp
ports:
- 3000:3000
environment:
- DB_URI=mongodb://192.188.2.10:27017/free5gc
depends_on:
- mongo
networks:
net1:
ipv4_address: 192.188.2.11
enb:
build: enb
depends_on:
- upf
- smf
- amf
privileged: true
cap_add:
- NET_ADMIN
networks:
net1:
ipv4_address: 192.188.2.253
ue:
build: ue
depends_on:
- upf
- smf
- amf
- enb
- webapp
privileged: true
cap_add:
- NET_ADMIN
networks:
net1:
ipv4_address: 192.188.2.254
networks:
net1:
ipam:
driver: default
config:
- subnet: 192.188.2.0/24