Doorboy proxy exports door access information from MongoDB to door Raspberry Pi controllers
.gitignore | ||
.overnodebundle | ||
const.py | ||
dev.yml | ||
docker-compose.yml | ||
Dockerfile | ||
main.py | ||
overnode.yml | ||
README.md | ||
requirements.txt |
Backgruond
This component serves allowed list of keyfob UID hashes from MongoDB and pushes open door commands to door controllers.
Testing endpoints
source .env
curl -f http://doorboy.infra.k-space.ee:5000/allowed -H "KEY: $DOORBOY_SECRET" | md5sum
Deploying
docker build -t 172.20.40.1:5000/doorboy:latest .
docker push 172.20.40.1:5000/doorboy:latest
overnode pull
overnode up