-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yaml
57 lines (56 loc) · 1.09 KB
/
docker-compose.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
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
epc:
build: base
image: aahad91/epc-base
depends_on:
- mongodb
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
entrypoint:
- "/bin/bash"
- "./install.sh"
tty: true
networks:
epc-network:
ipv4_address: 192.168.24.20
networks:
epc-network:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.24.0/24