Skip to content

Minimalistic docker image for dynamic DNS provided e.g. by duckdns.org

Notifications You must be signed in to change notification settings

midlan/docker-duckdns-minimalistic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

docker-duckdns-minimalistic

Minimalistic docker image for dynamic DNS provided e.g. by duckdns.org

Brief

The goal of this repository is to create minimalistic docker image for updating DNS records of duckdns.org. The Dockerfile is based on busybox without any other dependencies, so the result image should be about the same size as the busybox image (much smaller than e.g. alpine).

Usage

Start container

docker run -d --name duckdns --restart unless-stopped \
	-e DUCKDNS_URL='https://www.duckdns.org/update?domains=exampledomain&token=a7c4d0ad-114e-40ef-ba1d-d217904a50f2' \
	-e DUCKDNS_INTERVAL=300 \
	-e DUCKDNS_TIMEOUT=10 \
	midlan6/duckdns-minimalistic

Put your's duckdns url to DUCKDNS_URL variable. Verbose version is also supported.

Variables DUCKDNS_INTERVAL and DUCKDNS_TIMEOUT are optional. Default values are same as shown in example above.

Logs

This docker image uses standard docker logging. To view the logs use:

docker logs <container>

Docker Compose

docker-compose.yml example:

version: '3'

services:
    duckdns:
        container_name: duckdns
        image: midlan6/duckdns-minimalistic
        restart: unless-stopped
        environment:
            - DUCKDNS_URL=https://www.duckdns.org/update?domains=exampledomain&token=a7c4d0ad-114e-40ef-ba1d-d217904a50f2
            - DUCKDNS_INTERVAL=300
            - DUCKDNS_INTERVAL=60

Additional Information

Dockerhub repository: midlan6/duckdns-minimalistic
GitHub repository: midlan/docker-duckdns-minimalistic

The image should be compatible with other dynamic DNS services. Feel free to let me know if you successfully use it with any.

About

Minimalistic docker image for dynamic DNS provided e.g. by duckdns.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published