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

17 lines
878 B
Bash
Raw Normal View History

2021-04-21 00:55:42 +00:00
# [Ddclient](https://github.com/ddclient/ddclient) is a Perl client used to
# update dynamic DNS entries for accounts on Dynamic DNS Network Service
# Provider. It was originally written by Paul Burry and is now mostly by
# wimpunk. It has the capability to update more than just dyndns and it can
# fetch your WAN-ipaddress in a few different ways.
2021-04-10 10:16:29 +00:00
source ./.env
docker run -d \
--name=ddclient \
2022-04-02 00:45:58 +00:00
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
2023-02-12 01:01:09 +00:00
-e TZ=Etc/UTC `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
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
-v ${BASEDIR:-/volume1/docker}/ddclient/config:/config `# Where ddclient should store its config files.` \
--restart unless-stopped \
ghcr.io/linuxserver/ddclient