mirror of
https://github.com/Chewbaccalakis/rfid-database.git
synced 2026-09-09 16:01:56 -07:00
* Implement RFID tag dump PWA with REST API, auth, and CI Add Next.js app with SQLite/Drizzle storage for sites and LF/HF tag dumps, multi-user Auth.js (credentials + optional OIDC), personal API tokens in Settings, versioned /api/v1 for UI and future CLI use, MCT/Proxmark/JSON import-export, PWA offline shell, Vitest tests, and GitHub Actions CI. * 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. --------- Co-authored-by: Cursor Agent <[email protected]>
23 lines
645 B
Bash
23 lines
645 B
Bash
AUTH_SECRET=change-me-to-a-long-random-string
|
|
# Optional: path to SQLite file (default ./data/rfid.db)
|
|
# RFID_DB_PATH=./data/rfid.db
|
|
|
|
<<<<<<< HEAD
|
|
# 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
|
|
|
|
=======
|
|
>>>>>>> origin/main
|
|
# Optional OIDC (Authentik, Keycloak, Authelia, etc.)
|
|
# AUTH_OIDC_ISSUER=https://sso.example.com/application/o/rfid/
|
|
# AUTH_OIDC_CLIENT_ID=
|
|
# AUTH_OIDC_CLIENT_SECRET=
|
|
# AUTH_OIDC_NAME=SSO
|
|
# NEXT_PUBLIC_AUTH_OIDC_ENABLED=1
|
|
# NEXT_PUBLIC_AUTH_OIDC_NAME=SSO
|