Skip to content

chore: add staging Docker Compose profile with seed and prod-like auth - #635

Open
woahwhattheheck wants to merge 7 commits into
Protocol-Guild:mainfrom
woahwhattheheck:type/payd-530-staging
Open

woahwhattheheck wants to merge 7 commits into
Protocol-Guild:mainfrom
woahwhattheheck:type/payd-530-staging

Conversation

@woahwhattheheck

Copy link
Copy Markdown

Closes #530

Adds a staging stack that mirrors production settings without touching the default compose:

  • docker-compose.staging.yml — api + postgres + redis on isolated ports/volumes (3101 / 5433 / 6380)
  • NODE_ENV=production + REQUIRE_AUTH / ENABLE_RLS so auth and RLS paths match prod
  • mounts backend/src/db/seed.sql into Postgres init for seed data
  • backend/.env.staging.example template (copy to .env.staging before up)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add staging environment configuration

1 participant