diff --git a/.env.example b/.env.example index ae331a8..cd71724 100644 --- a/.env.example +++ b/.env.example @@ -7,36 +7,34 @@ # Server # ============================================================================ HOST=0.0.0.0 -PORT=3000 +PORT=8000 # ============================================================================ # Database # ============================================================================ DATABASE_URL=postgres://kphotos:kphotos@localhost:5432/kphotos -DB_MAX_CONNECTIONS=5 -DB_MIN_CONNECTIONS=1 - # ============================================================================ # JWT # ============================================================================ JWT_SECRET=change-me-in-production-at-least-32-characters -# Token lifetime in hours (default: 24) -JWT_EXPIRY_HOURS=24 +# ============================================================================ +# NATS +# ============================================================================ +NATS_URL=nats://localhost:4222 # ============================================================================ # CORS # ============================================================================ -CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173 +CORS_ALLOWED_ORIGINS=http://localhost:8000,http://localhost:5173 # ============================================================================ # Storage # ============================================================================ -STORAGE_BACKEND=local STORAGE_PATH=./data/media # ============================================================================ -# Production Mode +# Logging # ============================================================================ -PRODUCTION=false +RUST_LOG=info