# --- Database ---
DATABASE_URL=postgresql://pac:pac@localhost:5432/pac?schema=public

# --- Redis ---
REDIS_URL=redis://localhost:6379

# --- JWT ---
JWT_SECRET=replace-with-strong-random-secret-min-32-chars
JWT_REFRESH_SECRET=replace-with-another-strong-secret-min-32-chars
JWT_EXPIRES_IN=2h
JWT_REFRESH_EXPIRES_IN=7d

# --- AI Gateway ---
# The gateway is a passthrough that mirrors the Dify API shape
# (POST /workflows/run + /workflows/run with stream).
AI_GATEWAY_URL=https://ai-gateway.example.com
AI_GATEWAY_API_KEY=

# --- Service ---
NODE_ENV=development
PORT=3001
LOG_LEVEL=info
CORS_ORIGINS=http://localhost:3000

# --- One-time code ---
EXCHANGE_CODE_TTL_SECONDS=60

# --- Frontend ---
NEXT_PUBLIC_API_BASE_URL=http://localhost:3001
