# Copy to .env.local-server for an all-in-one local/LAN deployment.

COMPOSE_PROJECT_NAME=ftb_local

# Local/LAN entrypoint
LOCAL_HTTP_PORT=8080
LOCAL_ACCESS_HOST=localhost
CLIENT_MAX_BODY_SIZE=20m

# Database
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=ftb_pm
DATABASE_URL=postgresql://postgres:postgres@postgres:5432/ftb_pm

# Redis
REDIS_URL=redis://redis:6379

# Web
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=http://localhost:8080
NEXTAUTH_SECRET=local-server-change-me

# 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=
