# Database DATABASE_USER=netweave DATABASE_PASSWORD=securepassword DATABASE_NAME=netweave_db DATABASE_PORT=5432 DATABASE_URL="postgres://${DATABASE_USER}:${DATABASE_PASSWORD}@localhost:${DATABASE_PORT}/${DATABASE_NAME}" # Default Users DEFAULT_ADMIN_USER=admin DEFAULT_ADMIN_PASSWORD=adminpassword # OIDC (optional) # OIDC_CONFIGURATION_URL=https://auth.example.com/.well-known/openid-configuration # OIDC_CLIENT_ID=netweave # OIDC_CLIENT_SECRET=your-secret # OIDC_REDIRECT_URL=http://localhost:8789/auth/callback # Security # Required in production. Generate with: openssl rand -hex 32 # Set NETWEAVE_ENV=dev to use an insecure development key instead. ENCRYPTION_KEY="<64-char hex string>" SESSION_SECRET=devsecret-change-me-in-production # CORS — comma-separated list of allowed origins (empty = same-origin only) # ALLOWED_ORIGINS=http://localhost:8789 # Session cookie — set to true when using HTTPS # SESSION_SECURE_COOKIE=false # Environment — set to "dev" to skip ENCRYPTION_KEY requirement # NETWEAVE_ENV=dev # Misc # RUST_LOG=debug # APP_PORT=8789