Skip to content

Namecheap DDNS docker file. Uses python and requests module

Notifications You must be signed in to change notification settings

DukeFerdinand/namecheap-ddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Namecheap DDNS

Leverage Namecheap's DDNS to do run things like web servers at home.

Quickstart

  • Use the docker image (images are provided for arm64 machines like the Raspberry Pi 4 - and amd64 computers)
docker run \
    -e PASSWORD=ADDYOURPASSWORDHERE \
    -e DOMAIN=mydomain.com \
    -e SUB_DOMAINS=www,api \
    -it dougflynn/namecheap-ddns

OR Manually run source code

  • First, git clone the repo,
  • Then, cp .env.example .env and populate your secrets
  • Then pick a way to run

Docker (recommended)

  • Run docker build -t namecheap-ddns .
  • Then run:
docker run \
    -e PASSWORD=ADDYOURPASSWORDHERE \
    -e DOMAIN=mydomain.com \
    -e SUB_DOMAINS=www,api \
    -it namecheap-ddns

Raw Python

  • Run python -m venv venv
  • Then source ./venv/bin/activate
  • Install deps pip install -r requirements.txt
  • Finally python -u main.py

About

Namecheap DDNS docker file. Uses python and requests module

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published