35 lines
674 B
Bash
35 lines
674 B
Bash
# Fleet Forge - Environment Configuration
|
|
|
|
# Application
|
|
APP_PORT=3000
|
|
APP_URL=http://localhost:3000
|
|
NODE_ENV=development
|
|
|
|
# Database
|
|
DATABASE_URL=postgresql://fleetforge:fleetforge@localhost:5432/fleetforge?schema=public
|
|
|
|
# Redis (optional for MVP)
|
|
REDIS_URL=redis://localhost:6379
|
|
|
|
# Auth
|
|
JWT_SECRET=change-me-in-production-use-a-real-secret
|
|
JWT_EXPIRES_IN=24h
|
|
SESSION_SECRET=change-me-in-production-use-a-real-session-secret
|
|
|
|
# Enrollment
|
|
ENROLLMENT_TOKEN_EXPIRY=24h
|
|
|
|
# Agent
|
|
AGENT_HEARTBEAT_INTERVAL=30s
|
|
AGENT_HEARTBEAT_TIMEOUT=120s
|
|
|
|
# CORS
|
|
CORS_ORIGINS=http://localhost:3001
|
|
|
|
# Logging
|
|
LOG_LEVEL=debug
|
|
|
|
# Web
|
|
WEB_PORT=3001
|
|
NEXT_PUBLIC_API_URL=http://localhost:3000/api
|