# --- Ports (host bindings) --- API_PORT=8201 WEB_PORT=3201 # Public API URL used by the frontend (browser). Set to http(s)://: VITE_API_URL=http://docker:8201 # Allow Vite dev server to accept requests for these hostnames (comma-separated) VITE_ALLOWED_HOSTS=docker # If running behind a reverse proxy (e.g. Nginx Proxy Manager), enable this TRUST_PROXY=false # --- Database / Queue --- DATABASE_URL=postgresql://mailcleaner:mailcleaner@postgres:5432/mailcleaner REDIS_URL=redis://redis:6379 # JWT signing secret for auth JWT_SECRET=dev-change-me # --- Google OAuth (Gmail) --- GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET= # Must match the OAuth redirect URL configured in Google Cloud Console GOOGLE_REDIRECT_URI=http://docker:8201/oauth/gmail/callback # --- Export jobs --- # Where export ZIPs are stored by the worker EXPORT_DIR=/tmp/mailcleaner-exports # How long export files are kept (hours) EXPORT_TTL_HOURS=24 # --- Seed admin account --- SEED_ADMIN_EMAIL=admin@simplemailcleaner.local SEED_ADMIN_PASSWORD=change-me-now SEED_TENANT=Default Tenant SEED_TENANT_ID=seed-tenant