This project ships with a Dockerfile using the uv base image.
docker build -t opensentry-command:latest .docker run --rm -p 5000:5000 \
-e HOST=0.0.0.0 -e PORT=5000 -e SECRET_KEY=change-me \
-v "$PWD/config_store.json:/app/config_store.json" \
opensentry-command:latestVisit http://localhost:5000
- If your OAuth2 server runs on the host, use
http://host.docker.internal:8000as the base URL in app settings.
For full mDNS support on native Linux Docker:
docker run --rm --network host \
-e HOST=0.0.0.0 -e PORT=5000 -e SECRET_KEY=change-me \
-v "$PWD/config_store.json:/app/config_store.json" \
opensentry-command:latestThen open the printed address (often http://127.0.0.1:5000).
# create the file once
touch devices_store.json
# then mount it
-v "$PWD/devices_store.json:/app/devices_store.json"