docker-bits/lsio/duckdns/docker-run.sh

18 lines
902 B
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [Duckdns](https://duckdns.org/) is a free service which will point a DNS (sub
# domains of duckdns.org) to an IP of your choice. The service is completely
# free, and doesn't require reactivation or forum posts to maintain its
# existence.
2021-04-10 10:16:29 +00:00
source ./.env
docker run -d \
--name=duckdns \
-e PUID=${PUID:-1024} `# optional` `# for GroupID` \
-e PGID=${PGID:-100} `# optional` `# for UserID` \
2021-04-13 00:58:58 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
2021-04-10 10:16:29 +00:00
-e SUBDOMAINS=subdomain1,subdomain2 `# multiple subdomains allowed, comma separated, no spaces` \
-e TOKEN=token `# DuckDNS token` \
-e LOG_FILE=false `# optional` `# Set to `true` to log to file (also need to map /config).` \
-v ${BASEDIR:-/volume1/docker}/duckdns/config:/config `# optional` `# Used in conjunction with logging to file.` \
--restart unless-stopped \
ghcr.io/linuxserver/duckdns