https://github.com/dukeferdinand/namecheap-ddns
Namecheap DDNS docker file. Uses python and requests module
https://github.com/dukeferdinand/namecheap-ddns
ddns-updater docker iot namecheap namecheap-dns-updater python raspberry-pi
Last synced: about 2 months ago
JSON representation
Namecheap DDNS docker file. Uses python and requests module
- Host: GitHub
- URL: https://github.com/dukeferdinand/namecheap-ddns
- Owner: DukeFerdinand
- Created: 2021-11-23T00:17:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-23T03:16:49.000Z (over 4 years ago)
- Last Synced: 2025-06-10T08:39:52.961Z (about 1 year ago)
- Topics: ddns-updater, docker, iot, namecheap, namecheap-dns-updater, python, raspberry-pi
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Namecheap DDNS
Leverage Namecheap's DDNS to do run things like web servers at home.
### Quickstart
- Use the [docker image](https://hub.docker.com/repository/docker/dougflynndev/namecheap-ddns/general)
(images are provided for arm64 machines like the Raspberry Pi 4 - and amd64 computers)
```shell
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:
```shell
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`