Leverage Namecheap's DDNS to do run things like web servers at home.
- 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- First,
git clonethe repo, - Then,
cp .env.example .envand populate your secrets - Then pick a way to run
- 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- Run
python -m venv venv - Then
source ./venv/bin/activate - Install deps
pip install -r requirements.txt - Finally
python -u main.py