We have a volume in our docker-compose that would mount the dnsmasq.conf file for subspace but it's being replaced by the entrypoint script on each restart. This condition needs to be refined a little to ignore the dnsmasq.conf file if it already exists.
|
if ! test -d /etc/service/dnsmasq; then |
|
cat <<DNSMASQ >/etc/dnsmasq.conf |
|
# Only listen on necessary addresses. |
|
listen-address=${DNSMASQ_LISTEN_ADDRESS} |
|
|
|
# Never forward plain names (without a dot or domain part) |
|
domain-needed |
|
|
|
# Never forward addresses in the non-routed address spaces. |
|
bogus-priv |
|
|
|
# Allow extending dnsmasq by providing custom configurations. |
|
conf-dir=/etc/dnsmasq.d |
|
DNSMASQ |
We have a volume in our docker-compose that would mount the
dnsmasq.conffile for subspace but it's being replaced by the entrypoint script on each restart. This condition needs to be refined a little to ignore thednsmasq.conffile if it already exists.subspace/entrypoint.sh
Lines 196 to 209 in 1a2d4f2