# WHOOSH Configuration Example # Copy to .env and configure for local development # Database Configuration WHOOSH_DATABASE_HOST=localhost WHOOSH_DATABASE_PORT=5432 WHOOSH_DATABASE_DB_NAME=whoosh WHOOSH_DATABASE_USERNAME=whoosh WHOOSH_DATABASE_PASSWORD=your_database_password_here WHOOSH_DATABASE_SSL_MODE=disable WHOOSH_DATABASE_AUTO_MIGRATE=true # Server Configuration WHOOSH_SERVER_LISTEN_ADDR=:8080 WHOOSH_SERVER_READ_TIMEOUT=30s WHOOSH_SERVER_WRITE_TIMEOUT=30s WHOOSH_SERVER_SHUTDOWN_TIMEOUT=30s # GITEA Configuration WHOOSH_GITEA_BASE_URL=http://ironwood:3000 WHOOSH_GITEA_TOKEN=your_gitea_token_here WHOOSH_GITEA_WEBHOOK_PATH=/webhooks/gitea WHOOSH_GITEA_WEBHOOK_TOKEN=your_webhook_secret_here # Authentication Configuration WHOOSH_AUTH_JWT_SECRET=your_jwt_secret_here WHOOSH_AUTH_SERVICE_TOKENS=token1,token2,token3 WHOOSH_AUTH_JWT_EXPIRY=24h # Logging Configuration WHOOSH_LOGGING_LEVEL=debug WHOOSH_LOGGING_ENVIRONMENT=development # Redis Configuration (optional) WHOOSH_REDIS_ENABLED=false WHOOSH_REDIS_HOST=localhost WHOOSH_REDIS_PORT=6379 WHOOSH_REDIS_PASSWORD=your_redis_password WHOOSH_REDIS_DATABASE=0