1
0
mirror of https://github.com/alexandrev/xslt-lab.git synced 2026-09-16 18:23:16 +00:00

Document environment variables

This commit is contained in:
2025-07-01 10:03:09 +02:00
parent 0ae9933268
commit 9201a9c02c
3 changed files with 138 additions and 2 deletions
+12
View File
@@ -41,3 +41,15 @@ docker build -t xslt-playground-backend backend
```
By default it listens on port `8000` as configured in `backend/app.config`.
### Environment
The backend requires a PostgreSQL database and Firebase credentials for
authentication. Provide these via environment variables:
```bash
export DATABASE_URL="postgres://user:pass@localhost/dbname"
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/serviceAccount.json
```
The Firebase project ID is read from the credentials file.