2018-02-20 10:36:34 +00:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
run:
|
2018-02-20 13:29:46 +00:00
|
|
|
network_mode: "host"
|
2019-10-27 08:41:14 +00:00
|
|
|
image: ${USER}/${DIST-ubuntu}-${TAG-latest}-open5gs-build
|
2018-02-20 10:36:34 +00:00
|
|
|
depends_on:
|
|
|
|
- mongodb
|
|
|
|
- build
|
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
|
|
|
devices:
|
|
|
|
- "/dev/net/tun:/dev/net/tun"
|
|
|
|
sysctls:
|
|
|
|
- net.ipv6.conf.all.disable_ipv6=0
|
2018-02-20 14:49:24 +00:00
|
|
|
volumes:
|
2019-10-27 08:41:14 +00:00
|
|
|
- config:/etc/open5gs
|
|
|
|
hostname: open5gs-run
|
|
|
|
command: /bin/bash -c "/root/setup.sh; /usr/bin/open5gs-pcrfd -D; /usr/bin/open5gs-pgwd -D; /usr/bin/open5gs-sgwd -D; /usr/bin/open5gs-hssd -D; /usr/bin/open5gs-mmed"
|
2018-02-20 14:49:24 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
config: {}
|