From 2d3d15e38c79f0a2d0b0bf8de24ed137826ce2f3 Mon Sep 17 00:00:00 2001 From: rohan Date: Tue, 10 Nov 2026 10:21:53 +0000 Subject: [PATCH 1/2] docs: document SESSION_LIFETIME_HOURS --- src/pages/self-hosting/configuration/envars.mdx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/pages/self-hosting/configuration/envars.mdx b/src/pages/self-hosting/configuration/envars.mdx index 734d49cd..df6d3a9f 100644 --- a/src/pages/self-hosting/configuration/envars.mdx +++ b/src/pages/self-hosting/configuration/envars.mdx @@ -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. + + How long a sign-in session lasts, in hours. 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. + The number of Gunicorn worker processes for handling requests in the backend. From aadd632399c16ea7a9ecc4925d24414bfcad7a1f Mon Sep 17 00:00:00 2001 From: rohan Date: Tue, 10 Nov 2026 12:56:48 +0000 Subject: [PATCH 2/2] docs: say the session lifetime is counted from sign-in --- src/pages/self-hosting/configuration/envars.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/self-hosting/configuration/envars.mdx b/src/pages/self-hosting/configuration/envars.mdx index df6d3a9f..f554b84a 100644 --- a/src/pages/self-hosting/configuration/envars.mdx +++ b/src/pages/self-hosting/configuration/envars.mdx @@ -1086,7 +1086,7 @@ 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. - How long a sign-in session lasts, in hours. When it ends, the user is asked to sign in again. Defaults to `24`. + 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.