test using dnsmasq as sole resolver
This commit is contained in:
parent
1042fe3a17
commit
6657a27e58
|
@ -23,8 +23,8 @@ ENV NODE_ENV production
|
||||||
# 3. start crond in the background
|
# 3. start crond in the background
|
||||||
# 4. start the health-check api service
|
# 4. start the health-check api service
|
||||||
CMD [ "sh", "-c", \
|
CMD [ "sh", "-c", \
|
||||||
"echo -e \"nameserver 127.0.0.1\n$(cat /etc/resolv.conf)\" > /etc/resolv.conf ; \
|
"echo -e \"nameserver 127.0.0.1\noptions ndots:0\" > /etc/resolv.conf ; \
|
||||||
dnsmasq --strict-order --no-resolv --address=/siasky.net/$(node src/whatismyip.js) ; \
|
dnsmasq --server=127.0.0.1 --address=/siasky.net/$(node src/whatismyip.js) ; \
|
||||||
crond ; \
|
crond ; \
|
||||||
node --max-http-header-size=64000 src/index.js" \
|
node --max-http-header-size=64000 src/index.js" \
|
||||||
]
|
]
|
||||||
|
|
Reference in New Issue