Curiosity uses the REFRESH_IDLE_TIMEOUT environment variable to control how long an authenticated session remains active before timing out due to inactivity.
This setting is configured on the api service within the Docker deployment.
Default Value
REFRESH_IDLE_TIMEOUT=3600
Value is in seconds
Default is 3600 seconds (1 hour)
Where It Is Configured
This variable is defined in the Docker configuration for the api service:
docker-compose.ymlor
.envfile (depending on deployment structure)
How to View the Current Value
Option 1 – Check docker-compose.yml
Locate the api service section and check:
Option 2 – Inspect Running Container
On the Linux host:
How to Change the Timeout
Edit the environment variable in:
docker-compose.ymlor
.envfile
Set desired value (in seconds)
Example – 2 hours:
Restart the API container:
docker-compose down docker-compose up -d
Or restart only the API container if preferred.