change network configuration for docker

This commit is contained in:
Sukchan Lee 2018-02-20 22:29:46 +09:00
parent 9a86d4cb7c
commit f1ad0b11ae
5 changed files with 5 additions and 16 deletions

View file

@ -16,4 +16,4 @@ services:
- net.ipv6.conf.all.disable_ipv6=0
- net.ipv6.conf.all.forwarding=1
hostname: nextepc-test
command: /bin/bash -c "/etc/init.d/networking start; sed 's|localhost|mongodb|' /usr/local/etc/nextepc/nextepc.conf > /tmp/nextepc.conf; mv -f /tmp/nextepc.conf /usr/local/etc/nextepc/; cd nextepc; ./test/testepc"
command: /bin/bash -c "/root/setup.sh; sed 's|localhost|mongodb|' /usr/local/etc/nextepc/nextepc.conf > /tmp/nextepc.conf; mv -f /tmp/nextepc.conf /usr/local/etc/nextepc/; cd nextepc; ./test/testepc"