doorboy-proxy/README.md

23 lines
408 B
Markdown

# 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
```