forked from herlesupreeth/docker_open5gs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path5g-failover.yaml
More file actions
51 lines (51 loc) · 1.12 KB
/
5g-failover.yaml
File metadata and controls
51 lines (51 loc) · 1.12 KB
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
services:
mongo:
image: mongo:6.0
container_name: mongo
command: --bind_ip localhost,${DOCKER_HOST_IP} --replSet ${MONGO_RS_NAME}
env_file:
- .env
volumes:
- mongodbdata:/data/db
- mongodbdata:/data/configdb
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
expose:
- "27017/udp"
- "27017/tcp"
network_mode: host
extra_hosts:
- "hosts.docker.internal:host-gateway"
webui:
image: docker_open5gs
container_name: webui
depends_on:
- mongo
env_file:
- .env
- .env-normal
environment:
- COMPONENT_NAME=webui
volumes:
- ./webui:/mnt/webui
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
expose:
- "9999/tcp"
ports:
- "9999:9999/tcp"
networks:
default:
ipv4_address: ${WEBUI_IP}
networks:
default:
name: docker_open5gs_default
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 9000
ipam:
config:
- subnet: ${TEST_NETWORK}
volumes:
mongodbdata:
name: docker_open5gs_mongodbdata