2018-02-20 10:36:34 +00:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
test:
|
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
|
|
|
|
environment:
|
2019-10-27 08:41:14 +00:00
|
|
|
DB_URI: mongodb://mongodb/open5gs
|
2018-02-20 10:36:34 +00:00
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
|
|
|
devices:
|
|
|
|
- "/dev/net/tun:/dev/net/tun"
|
|
|
|
sysctls:
|
|
|
|
- net.ipv6.conf.all.disable_ipv6=0
|
2019-10-27 08:41:14 +00:00
|
|
|
hostname: open5gs-test
|
|
|
|
command: /bin/bash -c "/root/setup.sh; cd nextepc && ninja -C build test"
|