Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ A present-but-empty value counts as missing.
|---|---|
| `NODE_ENV` | `development`, `test` or `production`. Anything else throws. Default `development` |
| `PORT` | Listen port. Default `3000` |
| `LOG_LEVEL` | `trace`, `debug`, `info`, `warn`, `error`, `fatal` or `silent`. Default `info` (`silent` under `NODE_ENV=test`). Production logs one JSON object per line; other environments get readable output. Every line written during a request carries its `requestId` and `userId` |
| `PEOPLEPORTAL_BASE_URL` | Public origin. Builds the OIDC redirect and post-logout URLs |
| `PEOPLEPORTAL_WEBHOOK_URL` | Origin Gitea calls back on. Usually the same as above |
| `PEOPLEPORTAL_MONGO_URL` | MongoDB connection string |
Expand Down
3 changes: 3 additions & 0 deletions peopleportal/server/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ PEOPLEPORTAL_WEBHOOK_URL=http://localhost:3000
# that container is actually running, or every upload is waved through.
PHOTO_CHECK_ENABLED=false
PHOTO_CHECK_URL=http://localhost:8001

# Log verbosity: trace, debug, info (default), warn, error, fatal or silent.
# LOG_LEVEL=info
Loading