Watch
1
0
Fork
You've already forked RedFlag
0
RedFlag/server/.env.example

15 lines
486 B
Shell

# Server Configuration
SERVER_PORT=8080
# Database Configuration
DATABASE_URL=postgres://redflag:redflag@localhost:5432/redflag?sslmode=disable
# JWT Secret (CHANGE IN PRODUCTION!)
JWT_SECRET=change-me-in-production-use-long-random-string
# Agent Configuration
CHECK_IN_INTERVAL=300 # seconds
OFFLINE_THRESHOLD=600 # seconds before marking agent offline
# CORS Configuration (default: http://localhost:3000)
# REDFLAG_CORS_ORIGIN=https://your-dashboard-domain.com