Files
overlord/Overlord-Server/.env.example
T

34 lines
1005 B
Bash
Raw Normal View History

2026-03-05 00:04:26 -06:00
# Overlord Server Environment Configuration
# Copy this file to .env and customize for your deployment
# Server Configuration
PORT=5173
HOST=0.0.0.0
# Optional: Set custom hostname for certificate generation
# OVERLORD_HOSTNAME=your-server.com
# Authentication
OVERLORD_USER=admin
2026-03-06 14:45:15 -06:00
# Default bootstrap password is "admin" unless you override it
OVERLORD_PASS=admin
2026-03-05 00:04:26 -06:00
# Optional overrides. Leave empty to auto-generate and persist in ./data/save.json
JWT_SECRET=
OVERLORD_AGENT_TOKEN=
# TLS/HTTPS Configuration
# By default, certificates are generated when missing and Overlord serves HTTPS.
2026-03-05 00:04:26 -06:00
# OVERLORD_TLS_CERT=./certs/server.crt
# OVERLORD_TLS_KEY=./certs/server.key
# OVERLORD_TLS_CA=./certs/ca.crt
# Reverse-proxy TLS offload. This serves internal HTTP only; keep the listener
# on loopback and expose HTTPS/WSS through nginx, Caddy, or another trusted proxy.
# HOST=127.0.0.1
# OVERLORD_TLS_OFFLOAD=true
# OVERLORD_HEALTHCHECK_URL=http://127.0.0.1:5173/health
2026-03-05 00:04:26 -06:00
# Performance tuning
PRUNE_BATCH=500