Files
friendolls-server/.env.example
2026-02-11 01:09:08 +08:00

21 lines
461 B
Plaintext

# Server Configuration
HOST="localhost"
PORT=3000
NODE_ENV=development
# Database connection string
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/friendolls_dev?schema=public"
# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
# JWT Configuration
JWT_SECRET=replace-with-strong-random-secret
JWT_ISSUER=friendolls
JWT_AUDIENCE=friendolls-api
JWT_EXPIRES_IN_SECONDS=3600
# Temporary migration flow (remove after migration)
ALLOW_LEGACY_PASSWORD=true