Files
buzz-sheet/.env.example
T
gunshiz 659a57fb4a
CI / Verify (push) Successful in 1m6s
CI / Build immutable images and deploy (push) Has been skipped
feat(auth): replace Google login with credentials
2026-08-29 07:54:15 +00:00

39 lines
1.3 KiB
Bash

# Local-only demo mode serves sanitized fixtures and bypasses external services.
# Keep this false in every deployed environment.
BUZZ_DEMO_MODE=false
# PostgreSQL
DATABASE_URL=postgresql://buzz_sheet:[email protected]:5432/buzz_sheet?sslmode=require
DATABASE_POOL_SIZE=10
# Better Auth email/password administrator login
BETTER_AUTH_URL=http://localhost:3000
BETTER_AUTH_SECRET=replace-with-at-least-32-random-bytes
ADMIN_EMAIL=[email protected]
# Redis remote cache, event transport, and outbox worker
REDIS_URL=rediss://default:[email protected]:6379
REDIS_CACHE_PREFIX=buzz:next-cache
REDIS_EVENT_PREFIX=buzz:events
REDIS_CACHE_MAX_ENTRY_BYTES=5242880
OUTBOX_BATCH_SIZE=20
OUTBOX_POLL_MS=1000
OUTBOX_LEASE_MS=30000
# S3-compatible private media storage
S3_ENDPOINT=https://s3.example.internal
S3_REGION=auto
S3_BUCKET=buzz-sheet-media
S3_ACCESS_KEY_ID=replace-with-access-key
S3_SECRET_ACCESS_KEY=replace-with-secret-key
S3_VIRTUAL_HOSTED_STYLE=false
# Stable across replicas. Generate once and store only in the external secret.
NEXT_SERVER_ACTIONS_ENCRYPTION_KEY=replace-with-a-stable-32-byte-base64-key
# Set to the immutable image revision for version-skew protection.
NEXT_DEPLOYMENT_ID=local-development
# Readiness dependency timeout.
HEALTHCHECK_TIMEOUT_MS=2500