# Every variable the tracker reads. In production these are set by the main # site's docker-compose.yml (see README.md); for standalone development, # docker-compose.yml here sets the essentials and reads the rest from a .env. # --- Core ------------------------------------------------------------------- # Postgres connection, URL or key=value form. DATABASE_URL= # URL prefix everything is served under. The SPA is built for /jobs. BASE_PATH= # Where the Graph OAuth session and the capture token are saved (default /data). DATA_DIR= # Listen port (default 8080). PORT= # "true" enables gin debug logging, and is required for AUTH_MODE=dev. DEV_MODE= # "true" fills an empty database with demo data. SEED_DB= # GraphQL playground (GET /jobs/api/graphql) and introspection; DEV_MODE only. GQL_PLAYGROUND= GQL_INTROSPECTION= # --- Auth ------------------------------------------------------------------- # "forward" (default): ask the main site's backend. "dev": admit everyone. AUTH_MODE= # The site backend's validate-admin route, on the Docker network # (default http://backend:8080/auth/validate-admin). AUTH_VALIDATE_URL= # --- Claude ----------------------------------------------------------------- CLAUDE_API_KEY= # Blank means claude-sonnet-5-5. CLAUDE_MODEL= # --- Email ingest ----------------------------------------------------------- # "graph" or "imap"; anything else leaves the pipeline off. EMAIL_BACKEND= EMAIL_SYNC_ENABLED= # Go duration, default 30m. EMAIL_SYNC_INTERVAL= MSGRAPH_CLIENT_ID= MSGRAPH_CLIENT_SECRET= MSGRAPH_TENANT_ID= # Must be /jobs/api/email/callback and registered in Entra. MSGRAPH_REDIRECT_URI= IMAP_HOST= IMAP_PORT= IMAP_EMAIL= IMAP_PASSWORD= # --- Job leads -------------------------------------------------------------- JOB_LEADS_ENABLED= # Go duration, default 6h. JOB_LEADS_INTERVAL= ADZUNA_APP_ID= ADZUNA_APP_KEY= REED_API_KEY=