Acts as an abstraction layer for managing DNS records in cloudflare which stores metadata about an "owner" of the record, in order to keep track of which system created the records. This enables extra features such as bulk replacement of all records owned by a system, without effecting another and cleanup of old records
- Clone the repo
- Edit the environment variable
DOMAIN_CONFIGin the docker-compose.yml file to configure the domains handled by the application - Run
docker-compose up - Go to
http://localhost:80/docsto see the API documentation
Developed using Python 3.8
- Run
pip install -r requirements.txt - Run
export DOMAIN_CONFIG='{"my config": "as per config.py"}and other options in config.py if needed - Run
uvicorn app.main:appoptionally include the--reloadflag to watch for changes to the files during dev - See uvicorn logs for url of api (and append
/docsto see API documentation)