2018-02-20 10:36:34 +00:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
run:
|
2018-02-20 13:29:46 +00:00
|
|
|
network_mode: "host"
|
2018-05-29 08:41:11 +00:00
|
|
|
image: ${USER}/${DIST-ubuntu}-${TAG-latest}-nextepc-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:
|
|
|
|
- config:/etc/nextepc
|
2018-02-20 10:36:34 +00:00
|
|
|
hostname: nextepc-run
|
2018-02-20 14:49:24 +00:00
|
|
|
command: /bin/bash -c "/root/setup.sh; /usr/bin/nextepc-epcd"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
config: {}
|