docs: document SQLite storage for FCM registrations

Update README and .env.example for the SQLite database location, schema overview, backup/WAL notes, and clarify that JSON data is not migrated.
This commit is contained in:
Jose Olarte III
2026-07-24 20:52:38 +08:00
parent ddb969c26d
commit 06ec0f63e4
2 changed files with 52 additions and 3 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ PORT=3003
# If unset, uses Application Default Credentials (e.g. GOOGLE_APPLICATION_CREDENTIALS).
# FIREBASE_SERVICE_ACCOUNT_JSON={"type":"service_account",...}
# Local persistence directory for registered FCM tokens (default: ./data)
# Directory for the SQLite FCM registration database (default: ./data).
# Creates fcm-tokens.sqlite (plus -wal/-shm while the process is running).
# FCM_TOKEN_DATA_DIR=./data
# Set to "test-local" to bypass ethr JWT expiry verification in local dev only.