buhapp-backend/.env.example
ga 8d754f9834 Sprint 1: scaffold backend (Go + Fiber + PG + Redis + MinIO)
- POST /api/v1/auth/register with mandatory consents
- POST /api/v1/auth/login
- GET  /api/v1/me (protected)
- GET  /api/v1/legal/{terms,privacy,disclaimer}
- Migrations for users, consent_log, audit_log
- bcrypt + JWT (access + refresh)
- Docker Compose stack
2026-08-20 15:41:05 +00:00

36 lines
642 B
Plaintext

# Server
APP_ENV=development
APP_PORT=8080
APP_URL=http://localhost:8080
# PostgreSQL
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_USER=buhapp
POSTGRES_PASSWORD=buhapp_secret
POSTGRES_DB=buhapp
POSTGRES_SSLMODE=disable
# Redis
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# MinIO
MINIO_ENDPOINT=minio:9000
MINIO_ACCESS_KEY=buhapp_minio
MINIO_SECRET_KEY=buhapp_minio_secret
MINIO_BUCKET=buhapp
MINIO_USE_SSL=false
# JWT
JWT_SECRET=change-me-in-production-please-use-long-random-string
JWT_ACCESS_TTL=3600
JWT_REFRESH_TTL=2592000
# Legal documents versions
TERMS_VERSION=1.0
PRIVACY_VERSION=1.0
DISCLAIMER_VERSION=1.0