Merge pull request #26 from linkease/fix-dns

better for dns resolver
This commit is contained in:
Janson 2022-07-02 03:39:16 +01:00 committed by GitHub
commit 7fbb898ead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 3 deletions

View File

@ -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 \

View File

@ -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" \

View File

@ -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 \

View File

@ -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

View File

@ -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} \

View File

@ -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 \

View File

@ -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 \