54 lines
1.8 KiB
Bash
54 lines
1.8 KiB
Bash
# Overlord Configuration (Optional Overrides)
|
|
#
|
|
# Most users don't need to create a .env file!
|
|
# The docker-compose.yml has sensible defaults.
|
|
#
|
|
# On first startup, secrets are auto-generated and persisted in ./data/save.json
|
|
# when not explicitly provided.
|
|
#
|
|
# Only create .env if you want to customize:
|
|
|
|
# ============================================
|
|
# PRODUCTION: Use pre-built image
|
|
# ============================================
|
|
# Set this to pull from registry instead of building locally
|
|
# DOCKER_IMAGE=ghcr.io/yourusername/overlord-server:latest
|
|
|
|
# ============================================
|
|
# OPTIONAL: Custom initial admin username
|
|
# ============================================
|
|
# Default is "admin" - change if you prefer a different username
|
|
# OVERLORD_USER=myadmin
|
|
|
|
# OPTIONAL: Custom initial admin password
|
|
# Leave empty to generate and persist to save.json
|
|
# OVERLORD_PASS=
|
|
|
|
# ============================================
|
|
# OPTIONAL: Custom port
|
|
# ============================================
|
|
# Default is 5173
|
|
# PORT=8080
|
|
|
|
# ============================================
|
|
# ADVANCED: Custom JWT secret
|
|
# ============================================
|
|
# Leave empty to auto-generate and persist to save.json (recommended)
|
|
# JWT_SECRET=
|
|
|
|
# OPTIONAL: Agent authentication token
|
|
# Leave empty to auto-generate and persist to save.json
|
|
# OVERLORD_AGENT_TOKEN=
|
|
|
|
# ============================================
|
|
# ADVANCED: Custom TLS certificates
|
|
# ============================================
|
|
# Leave as defaults to use auto-generated self-signed certs
|
|
# OVERLORD_TLS_CERT=/custom/path/server.crt
|
|
# OVERLORD_TLS_KEY=/custom/path/server.key
|
|
|
|
# Agent builder settings (only needed if building agents)
|
|
# TARGETS=windows/amd64,windows/386,windows/arm64,linux/amd64,linux/arm64,linux/arm/v7,darwin/amd64,darwin/arm64
|
|
# GO_BUILD_FLAGS=-trimpath
|
|
# LDFLAGS=-s -w
|