subspacecommunity / subspace

A fork of the simple WireGuard VPN server GUI community maintained
MIT License
1.8k stars 132 forks source link

dnsmasq config gets generated on each restart #224

Open erbesharat opened 2 years ago

erbesharat commented 2 years ago

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. https://github.com/subspacecommunity/subspace/blob/1a2d4f2b1801b1d120a0b99b72684b460fdd4b37/entrypoint.sh#L196-L209