Files
support_backend/.env.example
T

33 lines
803 B
Bash
Raw Normal View History

NODE_ENV=development
PORT=4501
# Build
BUILD_COMMAND=npm run build:development
# Database
POSTGRES_HOST=postgres
POSTGRES_DB=support_dev
POSTGRES_USER=support_user
POSTGRES_PASSWORD=CHANGE_ME
DATABASE_URL=postgresql://support_user:CHANGE_ME@postgres:5432/support_dev
# Redis
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=CHANGE_ME
# Security & CORS
JWT_SECRET=CHANGE_ME_32_CHAR_MINIMUM_SECRET
JWT_ACCESS_EXPIRES=15m
JWT_REFRESH_EXPIRES=7d
# 64 hex chars (32 bytes) — generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
INTEGRATION_CREDENTIAL_ENCRYPTION_KEY=CHANGE_ME_64_HEX_CHARACTERS
CORS_ORIGINS=http://localhost:3000
# AWS S3 / storage
AWS_REGION=us-east-1
AWS_S3_BUCKET=supporthub-attachments
AWS_ACCESS_KEY_ID=CHANGE_ME
AWS_SECRET_ACCESS_KEY=CHANGE_ME