Files
ftb-project-management/.env.production.example

35 lines
958 B
Plaintext

# Copy to .env.production on the server and replace every change-me value.
COMPOSE_PROJECT_NAME=ftb_pm
# Public entrypoint
SERVER_NAME=pm.example.com
HTTP_PORT=80
CLIENT_MAX_BODY_SIZE=20m
# Database
POSTGRES_USER=postgres
POSTGRES_PASSWORD=change-me-strong-postgres-password
POSTGRES_DB=ftb_pm
DATABASE_URL=postgresql://postgres:change-me-strong-postgres-password@postgres:5432/ftb_pm
# Redis
REDIS_URL=redis://redis:6379
# Web
# For same-domain Nginx deployment, keep this relative path so browser requests go to /api/v1.
NEXT_PUBLIC_API_URL=/api/v1
# Fallback used by the Next.js server if the web container is exposed directly.
NEXT_API_PROXY_TARGET=http://server:3001
NEXTAUTH_URL=https://pm.example.com
NEXTAUTH_SECRET=change-me-random-32-byte-secret
# AI provider fallback. Admins can also configure providers in /admin/ai-config.
ANTHROPIC_API_KEY=sk-ant-xxx
# Optional mail notification settings
SMTP_HOST=
SMTP_PORT=465
SMTP_USER=
SMTP_PASS=