Code Monkey home page Code Monkey logo

docker-digitalocean-dyndns's Introduction

Simple container image to update a dynamic DNS record using the DigitalOcean API.

Docker Image Version (tag latest semver) Docker Image Size (tag) Docker Pulls GitHub Tag Build Status GitHub Last Commit License: MIT Awesome Badges

Image

Registry Image
Docker Hub pascaliske/digitalocean-dyndns
GitHub ghcr.io/pascaliske/digitalocean-dyndns

The following platforms are available for this image:

$ docker run --rm mplatform/mquery pascaliske/digitalocean-dyndns:latest
Image: pascaliske/digitalocean-dyndns:latest
 * Manifest List: Yes
 * Supported platforms:
   - linux/amd64
   - linux/arm/v7
   - linux/arm64

Usage

To use this image pull it from one of the following registries:

# docker hub
docker pull pascaliske/digitalocean-dyndns

# github container registry
docker pull ghcr.io/pascaliske/digitalocean-dyndns

Then run it using the following command:

# docker hub
docker run --rm -e DOMAIN=domain.com -e NAME=my pascaliske/digitalocean-dyndns

# github container registry
docker run --rm -e DOMAIN=domain.com -e NAME=my ghcr.io/pascaliske/digitalocean-dyndns

This will update the subdomain record my.domain.com in the DNS zone domain.com with your current IP address.

Configuration

You can configure the container with the following additional environment variables:

Variable Required Default Description
TZ No UTC Adjust the time zone inside the container
IP_SERVICE No ifconfig.co The IP service to retrieve your public IP address
DOMAIN Yes - Your domain within the DigitalOcean control panel
NAME Yes - Your subdomain record to update
DO_TOKEN Yes - Your DigitalOcean API token

Kubernetes

If you want to use this tool as an CronJob inside of a Kubernetes cluster check out my ready to deploy Helm chart!

License

MIT โ€“ ยฉ 2022 Pascal Iske

docker-digitalocean-dyndns's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar pascaliske avatar renovate[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

docker-digitalocean-dyndns's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

dockerfile
Dockerfile
  • pascaliske/alpine-curl-jq 0.0.2
github-actions
.github/workflows/docs.yml
  • actions/checkout v4
  • arduino/setup-task v1
  • mhausenblas/mkdocs-deploy-gh-pages 1.26
.github/workflows/image.yml
  • actions/checkout v4
  • actions/setup-node v4.0.2
  • docker/setup-qemu-action v3
  • docker/metadata-action v5
  • docker/setup-buildx-action v3
  • docker/login-action v3
  • docker/login-action v3
  • docker/build-push-action v6
  • ncipollo/release-action v1
  • actions/checkout v4
  • crazy-max/ghaction-container-scan v3
  • github/codeql-action v3
.github/workflows/labels.yml
  • actions/checkout v4
  • crazy-max/ghaction-github-labeler v5
npm
package.json
  • @commitlint/cli ^19.0.0
  • @commitlint/config-conventional ^19.0.0
  • @rstacruz/bump-cli ^2.0.1
  • husky ^9.0.10
  • standard-changelog ^6.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.