doc update
This commit is contained in:
@@ -12,6 +12,7 @@ Several of these features require you to set secrets in your environment. If usi
|
|||||||
- [Memory](#memory)
|
- [Memory](#memory)
|
||||||
- [Firebase Realtime Database](#firebase-realtime-database)
|
- [Firebase Realtime Database](#firebase-realtime-database)
|
||||||
- [Firebase setup instructions](#firebase-setup-instructions)
|
- [Firebase setup instructions](#firebase-setup-instructions)
|
||||||
|
- [SQLite Database](#sqlite-database)
|
||||||
- [Whitelisting admin IP addresses](#whitelisting-admin-ip-addresses)
|
- [Whitelisting admin IP addresses](#whitelisting-admin-ip-addresses)
|
||||||
|
|
||||||
## No user management (`GATEKEEPER=none`)
|
## No user management (`GATEKEEPER=none`)
|
||||||
@@ -63,6 +64,17 @@ To use Firebase Realtime Database to persist user data, set the following enviro
|
|||||||
|
|
||||||
The proxy server will attempt to connect to your Firebase Realtime Database at startup and will throw an error if it cannot connect. If you see this error, check that your `FIREBASE_RTDB_URL` and `FIREBASE_KEY` secrets are set correctly.
|
The proxy server will attempt to connect to your Firebase Realtime Database at startup and will throw an error if it cannot connect. If you see this error, check that your `FIREBASE_RTDB_URL` and `FIREBASE_KEY` secrets are set correctly.
|
||||||
|
|
||||||
|
### SQLite Database
|
||||||
|
|
||||||
|
To use a local SQLite database file to persist user data, set the following environment variables:
|
||||||
|
|
||||||
|
- `GATEKEEPER_STORE`: Set this to `sqlite`.
|
||||||
|
- `SQLITE_USER_STORE_PATH` (Optional): Specifies the path to the SQLite database file.
|
||||||
|
- If not set, it defaults to `data/user-store.sqlite` within the project directory.
|
||||||
|
- Ensure that the directory where the SQLite file will be created (e.g., the `data/` directory) is writable by the application process.
|
||||||
|
|
||||||
|
Using SQLite provides a simple way to persist user data locally without relying on external services. User data will be saved to the specified file and will be available across server restarts.
|
||||||
|
|
||||||
## Whitelisting admin IP addresses
|
## Whitelisting admin IP addresses
|
||||||
You can add your own IP ranges to the `ADMIN_WHITELIST` environment variable for additional security.
|
You can add your own IP ranges to the `ADMIN_WHITELIST` environment variable for additional security.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user