Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

dynaconf

Smol helper service to keep whitelist up to date

Usage:

docker-compose up -d

Curls:

Create:

curl -XPOST -H "Content-Type: application/json" http://127.0.0.1:5000/create -d '{"name":"frontend", "ip":"10.0.0.10"}'

Update:

curl -XPOST -H "Content-Type: application/json" http://127.0.0.1:5000/update -d '{"name":"frontend", "ip":"10.0.0.110"}'

Delete:

curl -XPOST -H "Content-Type: application/json" http://127.0.0.1:5000/delete -d '{"name":"frontend"}'

get all entries:

curl http://127.0.0.1:5000/storage

curl http://127.0.0.1:5000/storage | jq -r '[.[].ip]|join(",")'

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages