Gleam Lustre Fullstack Atproto Demo App w/Slices.Network GraphQL API
at main 31 lines 1.1 kB view raw
1# Secret Key Base (used for signing cookies - MUST be persistent across restarts) 2# Generate a random string with: openssl rand -base64 48 3# Or the server will generate one on first run and print it to console 4SECRET_KEY_BASE=CHANGE_ME_TO_A_RANDOM_64_CHARACTER_STRING 5 6# Server Configuration 7# Host address to bind to (defaults to 127.0.0.1 if not set) 8# Use 0.0.0.0 to listen on all interfaces (required for Docker/production) 9HOST=127.0.0.1 10 11# Port the server will listen on (defaults to 3000 if not set) 12PORT=3000 13 14# Database Configuration 15# SQLite database file path (defaults to ./sessions.db if not set) 16DATABASE_URL=./sessions.db 17 18# OAuth Configuration 19# These values will be used if environment variables are not set 20 21# OAuth Client ID (used in authorization request) 22OAUTH_CLIENT_ID=client-id 23 24# OAuth Client Secret (used in token exchange) 25OAUTH_CLIENT_SECRET=client-secret 26 27# OAuth Redirect URI (where the OAuth provider redirects after authorization) 28OAUTH_REDIRECT_URI=http://localhost:3000/oauth/callback 29 30# OAuth Base URL 31OAUTH_AUTH_URL=http://localhost:2583