Add Docker Compose setup with persistent volume

Improve the production Dockerfile (healthcheck, entrypoint bootstrap
user, pruned deps) and add docker-compose.yml plus .dockerignore for
one-command deploy with a named SQLite volume.
This commit is contained in:
Cursor Agent
2026-08-23 22:56:21 +00:00
parent 3331944773
commit d07bf72e23
6 changed files with 145 additions and 14 deletions
+8
View File
@@ -2,6 +2,14 @@ AUTH_SECRET=change-me-to-a-long-random-string
# Optional: path to SQLite file (default ./data/rfid.db)
# RFID_DB_PATH=./data/rfid.db
# Docker Compose published port (default 3000)
# RFID_PORT=3000
# Optional first-boot user when using Docker entrypoint
# [email protected]
# CREATE_USER_PASSWORD=changeme
# CREATE_USER_NAME=Admin
# Optional OIDC (Authentik, Keycloak, Authelia, etc.)
# AUTH_OIDC_ISSUER=https://sso.example.com/application/o/rfid/
# AUTH_OIDC_CLIENT_ID=