Barazo Docker Compose templates for self-hosting barazo.forum
at main 37 lines 1.1 kB view raw
1# Barazo Staging Docker Compose -- Override 2# 3# Extends docker-compose.yml for the staging environment (staging.barazo.forum). 4# Uses :edge images, debug logging, and relaxed rate limits for testing. 5# 6# Usage: 7# cp .env.staging .env 8# # Edit .env with staging secrets (passwords, DID, etc.) 9# docker compose -f docker-compose.yml -f docker-compose.staging.yml up -d 10# 11# Reset staging data: 12# ./scripts/reset-staging.sh 13# 14# Seed test data: 15# ./scripts/seed-staging.sh 16 17services: 18 # Override API for staging 19 barazo-api: 20 image: ghcr.io/singi-labs/barazo-api:edge 21 environment: 22 NODE_ENV: staging 23 LOG_LEVEL: debug 24 # Relaxed rate limits for testing (must match env vars in barazo-api env.ts) 25 RATE_LIMIT_READ_ANON: "1000" 26 RATE_LIMIT_READ_AUTH: "1000" 27 RATE_LIMIT_WRITE: "100" 28 RATE_LIMIT_AUTH: "100" 29 30 # Override Web for staging 31 barazo-web: 32 image: ghcr.io/singi-labs/barazo-web:edge 33 34 # Staging postgres -- no resource overrides, keep defaults 35 # (staging uses smallest Hetzner VPS) 36 37 # Staging valkey -- no resource overrides