mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2026-04-10 23:06:17 +00:00
Updated resolvconf call in entrypoint.sh to fix dns inside container (#1081)
* removed resolvconf call from entrypoint.sh to fix dns inside container
* Revert "removed resolvconf call from entrypoint.sh to fix dns inside container"
This reverts commit 428908ff84.
* Added resolvconf -a to save initial DNS configuration
This commit is contained in:
committed by
Donald Zou
parent
8d35887950
commit
f53da6eacb
@@ -278,6 +278,10 @@ start_and_monitor() {
|
||||
|
||||
${WGDASH}/src/venv/bin/gunicorn --config ${WGDASH}/src/gunicorn.conf.py
|
||||
|
||||
cp /etc/resolv.conf /etc/resolv.conf.docker
|
||||
/usr/sbin/resolvconf -u
|
||||
cat /etc/resolv.conf.docker | resolvconf -a docker.inet
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Loading WGDashboard failed... Look above for details."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user