Skip to content
Open
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
9 changes: 9 additions & 0 deletions src/pages/self-hosting/configuration/envars.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,15 @@ These variables are not required if using the suggested [docker-compose template

Required by the [`backend`](https://hub.docker.com/r/phasehq/backend) and [`worker`](https://hub.docker.com/r/phasehq/backend) containers.
</Property>
<Property name="SESSION_LIFETIME_HOURS" type="number (Optional)">
How long a session lasts after sign-in, in hours. The time is counted from sign-in and activity does not extend it. When it ends, the user is asked to sign in again. Defaults to `24`.

Must be a whole number, `1` or more. The backend does not start with any other value.

Example: `12`

Referenced by the [`backend`](https://hub.docker.com/r/phasehq/backend) container.
</Property>

<Property name="GUNICORN_WORKERS" type="number (Optional)">
The number of Gunicorn worker processes for handling requests in the backend.
Expand Down