# Secret Key Base (used for signing cookies - MUST be persistent across restarts) # Generate a random string with: openssl rand -base64 48 # Or the server will generate one on first run and print it to console SECRET_KEY_BASE=CHANGE_ME_TO_A_RANDOM_64_CHARACTER_STRING # Server Configuration # Host address to bind to (defaults to 127.0.0.1 if not set) # Use 0.0.0.0 to listen on all interfaces (required for Docker/production) HOST=127.0.0.1 # Port the server will listen on (defaults to 3000 if not set) PORT=3000 # Database Configuration # SQLite database file path (defaults to ./sessions.db if not set) DATABASE_URL=./sessions.db # OAuth Configuration # These values will be used if environment variables are not set # OAuth Client ID (used in authorization request) OAUTH_CLIENT_ID=client-id # OAuth Client Secret (used in token exchange) OAUTH_CLIENT_SECRET=client-secret # OAuth Redirect URI (where the OAuth provider redirects after authorization) OAUTH_REDIRECT_URI=http://localhost:3000/oauth/callback # OAuth Base URL OAUTH_AUTH_URL=http://localhost:2583