diff --git a/applications/luci-app-heimdall/root/usr/share/heimdall/install.sh b/applications/luci-app-heimdall/root/usr/share/heimdall/install.sh index f94c506..926705f 100755 --- a/applications/luci-app-heimdall/root/usr/share/heimdall/install.sh +++ b/applications/luci-app-heimdall/root/usr/share/heimdall/install.sh @@ -60,6 +60,7 @@ do_install() { mountpoint -q /mnt && mntv="$mntv:rslave" docker run -d \ --name=heimdall \ + --dns=172.17.0.1 \ -e TZ=Asia/Shanghai \ -p ${HTTP_PORT}:80 \ -p ${HTTPS_PORT}:443 \ diff --git a/applications/luci-app-homeassistant/root/usr/share/homeassistant/install.sh b/applications/luci-app-homeassistant/root/usr/share/homeassistant/install.sh index 7dcae59..2e6e8f2 100755 --- a/applications/luci-app-homeassistant/root/usr/share/homeassistant/install.sh +++ b/applications/luci-app-homeassistant/root/usr/share/homeassistant/install.sh @@ -59,7 +59,8 @@ do_install() { docker rm -f homeassistant docker run -d \ - --name homeassistant \ + --name=homeassistant \ + --dns=172.17.0.1 \ --privileged \ --restart=unless-stopped \ -e TZ="Asia/Shanghai" \ diff --git a/applications/luci-app-jellyfin/root/usr/share/jellyfin/install.sh b/applications/luci-app-jellyfin/root/usr/share/jellyfin/install.sh index 9bd52d0..54eed1f 100755 --- a/applications/luci-app-jellyfin/root/usr/share/jellyfin/install.sh +++ b/applications/luci-app-jellyfin/root/usr/share/jellyfin/install.sh @@ -87,6 +87,7 @@ do_install_detail() { if [ "${ARCH}" = "amd64" ]; then cmd="docker run --restart=unless-stopped -d \ + --dns=172.17.0.1 \ -p $port:8096 -v \"$config:/config\"" else cmd="docker run --restart=unless-stopped -d \ diff --git a/applications/luci-app-kodexplorer/root/usr/share/kodexplorer/install.sh b/applications/luci-app-kodexplorer/root/usr/share/kodexplorer/install.sh index 847f3a8..f91363c 100755 --- a/applications/luci-app-kodexplorer/root/usr/share/kodexplorer/install.sh +++ b/applications/luci-app-kodexplorer/root/usr/share/kodexplorer/install.sh @@ -51,6 +51,7 @@ do_install() { local mntv="/mnt:/mnt" mountpoint -q /mnt && mntv="$mntv:rslave" docker run -d --name kodexplorer \ + --dns=172.17.0.1 \ -p ${PORT}:80 \ -v ${CACHE}:/var/www/html -v ${mntv} \ $IMAGE_NAME >>${LOGFILE} 2>&1 diff --git a/applications/luci-app-nastools/root/usr/share/nastools/install.sh b/applications/luci-app-nastools/root/usr/share/nastools/install.sh index 5e0eed1..e1079fc 100755 --- a/applications/luci-app-nastools/root/usr/share/nastools/install.sh +++ b/applications/luci-app-nastools/root/usr/share/nastools/install.sh @@ -62,7 +62,8 @@ do_install() { local mntv="/mnt:/mnt" mountpoint -q /mnt && mntv="$mntv:rslave" docker run -d \ - --name nastools \ + --name=nastools \ + --dns=172.17.0.1 \ --hostname nastools \ -p ${HTTP_PORT}:3000 \ -v ${CONFIG_PATH}:/config -v ${mntv} \ diff --git a/applications/luci-app-nextcloud/root/usr/share/nextcloud/install.sh b/applications/luci-app-nextcloud/root/usr/share/nextcloud/install.sh index cd168ac..55e37a1 100755 --- a/applications/luci-app-nextcloud/root/usr/share/nextcloud/install.sh +++ b/applications/luci-app-nextcloud/root/usr/share/nextcloud/install.sh @@ -53,6 +53,7 @@ do_install() { docker run -d \ --name nextcloud \ + --dns=172.17.0.1 \ --restart=unless-stopped \ -p ${port}:80 \ -v /mnt:/mnt:rslave \ diff --git a/applications/luci-app-wxedge/root/usr/share/wxedge/install.sh b/applications/luci-app-wxedge/root/usr/share/wxedge/install.sh index 00f3317..679d408 100755 --- a/applications/luci-app-wxedge/root/usr/share/wxedge/install.sh +++ b/applications/luci-app-wxedge/root/usr/share/wxedge/install.sh @@ -51,7 +51,8 @@ do_install() { # -e NIC=eth0 # -e LISTEN_ADDR="0.0.0:18888" - docker run -d --name wxedge \ + docker run -d --name=wxedge \ + --dns=172.17.0.1 \ -e PLACE=CTKS --privileged \ --network=host --tmpfs /run --tmpfs /tmp \ -v ${CACHE_PATH}:/storage:rw -v ${CACHE_PATH}/containerd:/var/lib/containerd \