41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
|
|
# Database
|
||
|
|
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/tasks"
|
||
|
|
|
||
|
|
# Auth (NextAuth)
|
||
|
|
NEXTAUTH_URL="http://localhost:3000"
|
||
|
|
NEXTAUTH_SECRET="your-secret-here-generate-with-openssl-rand-base64-32"
|
||
|
|
|
||
|
|
# OAuth Providers (optional)
|
||
|
|
GITHUB_CLIENT_ID=""
|
||
|
|
GITHUB_CLIENT_SECRET=""
|
||
|
|
GOOGLE_CLIENT_ID=""
|
||
|
|
GOOGLE_CLIENT_SECRET=""
|
||
|
|
|
||
|
|
# Redis
|
||
|
|
REDIS_URL="redis://localhost:6379"
|
||
|
|
|
||
|
|
# Collaboration Server (browser / clients)
|
||
|
|
COLLAB_SERVER_URL="ws://localhost:1234"
|
||
|
|
|
||
|
|
# AI Providers
|
||
|
|
OPENAI_API_KEY=""
|
||
|
|
ANTHROPIC_API_KEY=""
|
||
|
|
|
||
|
|
# MCP Server (stdio transport today; port reserved for future HTTP/SSE)
|
||
|
|
MCP_SERVER_PORT=3001
|
||
|
|
|
||
|
|
# --- Docker Compose (optional; copy to .env and adjust) ---
|
||
|
|
# When all app services run in Docker, use service hostnames:
|
||
|
|
# DATABASE_URL="postgresql://postgres:postgres@postgres:5432/tasks"
|
||
|
|
# REDIS_URL="redis://redis:6379"
|
||
|
|
# COLLAB_SERVER_URL="ws://localhost:1234"
|
||
|
|
# (Browsers still reach the collab service via the published host port.)
|
||
|
|
|
||
|
|
POSTGRES_USER=postgres
|
||
|
|
POSTGRES_PASSWORD=postgres
|
||
|
|
POSTGRES_DB=tasks
|
||
|
|
POSTGRES_PORT=5432
|
||
|
|
REDIS_PORT=6379
|
||
|
|
WEB_PORT=3000
|
||
|
|
COLLAB_PORT=1234
|