-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathdocker-compose-standalone.yml
105 lines (95 loc) · 2 KB
/
docker-compose-standalone.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
96
97
98
99
100
101
102
103
104
version: '2'
volumes:
mongodb_data:
services:
mongodb:
image: mongo:latest
container_name: "mongodb"
volumes:
- mongodb_data:/data/db
network_mode: host
webui:
build: ./
depends_on:
- mongodb
environment:
- DB_URI=mongodb://127.0.0.1/open5gs
container_name: webui
network_mode: host
ports:
- "3000:3000"
volumes:
- "./config-standalone:/usr/local/etc:z"
entrypoint:
- "/bin/sh"
- "/usr/local/etc/run_webui.sh"
mongodbloader:
image: mongo:latest
depends_on:
- webui
environment:
- DB_HOST=127.0.0.1
network_mode: host
volumes:
- "./provisioning/db/run_db.sh:/tmp/run.sh:z"
- "./provisioning/db/imsi1.json:/tmp/imsi1.json:z"
entrypoint:
- /bin/sh
- /tmp/run.sh
hss:
build: ./
depends_on:
- mongodb
container_name: hss
network_mode: host
entrypoint:
- "/bin/sh"
- "/usr/local/etc/run_hss.sh"
volumes:
- "./config-standalone:/usr/local/etc:z"
mme:
build: ./
depends_on:
- hss
container_name: mme
network_mode: host
entrypoint:
- "/bin/sh"
- "/usr/local/etc/run_mme.sh"
volumes:
- "./config-standalone:/usr/local/etc:z"
sgw:
build: ./
container_name: sgw
network_mode: host
entrypoint:
- "/bin/sh"
- "/usr/local/etc/run_sgw.sh"
volumes:
- "./config-standalone:/usr/local/etc:z"
pgw:
build: ./
container_name: pgw
network_mode: host
entrypoint:
- "/bin/sh"
- "/usr/local/etc/run_pgw.sh"
volumes:
- "./config-standalone:/usr/local/etc:z"
devices:
- /dev/net/tun
privileged: true
cap_add:
- NET_ADMIN
pcrf:
build: ./
depends_on:
- mongodb
- hss
container_name: pcrf
network_mode: host
entrypoint:
- "/bin/sh"
- "/usr/local/etc/run_pcrf.sh"
volumes:
- "./config-standalone:/usr/local/etc:z"