2026-06-13 13:28:25 -04:00
|
|
|
# Buzz production Docker Compose environment.
|
|
|
|
|
# Copy to .env and replace every CHANGE_ME value before running.
|
|
|
|
|
# The bootstrap script should generate this file for normal users.
|
|
|
|
|
|
|
|
|
|
# Image published by the public image pipeline. Use `:main` for pre-release testing. Pin `:sha-<7>` or a semver release tag for production.
|
|
|
|
|
BUZZ_IMAGE=ghcr.io/block/buzz:main
|
|
|
|
|
|
|
|
|
|
# Public host name. Used by compose.caddy.yml and URL-derived settings below.
|
|
|
|
|
BUZZ_DOMAIN=buzz.example.com
|
|
|
|
|
RELAY_URL=wss://buzz.example.com
|
|
|
|
|
BUZZ_MEDIA_BASE_URL=https://buzz.example.com/media
|
|
|
|
|
BUZZ_MEDIA_SERVER_DOMAIN=buzz.example.com
|
|
|
|
|
BUZZ_CORS_ORIGINS=https://buzz.example.com
|
|
|
|
|
|
|
|
|
|
# Production defaults. Closed relay mode requires RELAY_OWNER_PUBKEY and a stable relay key.
|
|
|
|
|
BUZZ_REQUIRE_AUTH_TOKEN=true
|
|
|
|
|
BUZZ_REQUIRE_RELAY_MEMBERSHIP=true
|
|
|
|
|
BUZZ_ALLOW_NIP_OA_AUTH=true
|
|
|
|
|
BUZZ_AUTO_MIGRATE=true
|
|
|
|
|
BUZZ_GIT_CONFORMANCE_PROBE=true
|
|
|
|
|
RUST_LOG=buzz_relay=info,buzz_db=info,buzz_auth=info,buzz_pubsub=info,tower_http=info
|
|
|
|
|
|
|
|
|
|
# Owner identity. Set to a 64-character hex Nostr pubkey.
|
|
|
|
|
RELAY_OWNER_PUBKEY=CHANGE_ME_OWNER_PUBKEY_HEX
|
|
|
|
|
|
|
|
|
|
# Stable secrets. Generate once, keep in .env, and back up securely.
|
|
|
|
|
BUZZ_RELAY_PRIVATE_KEY=CHANGE_ME_64_HEX_PRIVATE_KEY
|
|
|
|
|
BUZZ_GIT_HOOK_HMAC_SECRET=CHANGE_ME_RANDOM_64_HEX
|
|
|
|
|
POSTGRES_DB=buzz
|
|
|
|
|
POSTGRES_USER=buzz
|
|
|
|
|
POSTGRES_PASSWORD=CHANGE_ME_RANDOM_PASSWORD
|
|
|
|
|
REDIS_PASSWORD=CHANGE_ME_RANDOM_PASSWORD
|
|
|
|
|
BUZZ_S3_ACCESS_KEY=CHANGE_ME_RANDOM_ACCESS_KEY
|
|
|
|
|
BUZZ_S3_SECRET_KEY=CHANGE_ME_RANDOM_SECRET_KEY
|
|
|
|
|
BUZZ_S3_BUCKET=buzz-media
|
2026-07-29 17:00:41 -07:00
|
|
|
# Bundled MinIO uses path-style URLs; deploy/compose/compose.yml pins this.
|
|
|
|
|
BUZZ_S3_ADDRESSING_STYLE=path
|
2026-06-13 13:28:25 -04:00
|
|
|
|
|
|
|
|
# Optional host ports. Base compose publishes the relay directly on BUZZ_HTTP_PORT.
|
|
|
|
|
BUZZ_HTTP_PORT=3000
|
|
|
|
|
|
|
|
|
|
# Caddy host ports. Only used with compose.caddy.yml.
|
|
|
|
|
CADDY_HTTP_PORT=80
|
|
|
|
|
CADDY_HTTPS_PORT=443
|
|
|
|
|
|
|
|
|
|
# Dev override ports. Only used with compose.dev.yml.
|
|
|
|
|
POSTGRES_PORT=5432
|
|
|
|
|
REDIS_PORT=6379
|
|
|
|
|
MINIO_API_PORT=9000
|
|
|
|
|
MINIO_CONSOLE_PORT=9001
|
|
|
|
|
ADMINER_PORT=8082
|
|
|
|
|
PROMETHEUS_PORT=9090
|