# Staging environment variables. The cd-staging.yml workflow assembles # these from SOPS secrets + workflow-injected values and ships them to the # server as `infrastructure/staging.env`. Keep this file in sync with the # `environment:` blocks in `docker-compose.staging.yml`. # # For PR previews the same template is reused, with DOMAIN, STAGING_DATABASE, # and image tags overridden per-PR by the workflow. # Domain the staging stack serves at. Persistent staging uses # staging.trails.cool; PR previews use pr-.staging.trails.cool. DOMAIN=staging.trails.cool # Database name on the shared production Postgres. Persistent staging uses # trails_staging; PR previews use trails_pr_. STAGING_DATABASE=trails_staging # Inherited from SOPS secrets.app.env (decrypted in the workflow): POSTGRES_PASSWORD= JWT_SECRET= SESSION_SECRET= BROUTER_URL= BROUTER_AUTH_TOKEN= # Image tag to deploy. `latest` for staging, `pr-` for PR previews. JOURNAL_IMAGE_TAG=latest PLANNER_IMAGE_TAG=latest # Sentry release SHA, set by the workflow. SENTRY_RELEASE=