Files
gpt-load/.env.example
T

31 lines
1.0 KiB
Bash

# HTTP server
HOST=0.0.0.0
PORT=3001
GRACEFUL_SHUTDOWN_TIMEOUT=10
# Container runtime budget; keep this longer than the application timeout.
CONTAINER_STOP_GRACE_PERIOD=15s
# Maximum time to read a complete request, including its body (seconds).
READ_TIMEOUT=60
# Maximum keep-alive idle time between requests (seconds).
IDLE_TIMEOUT=120
# Persistent data. An empty DATABASE_DSN resolves to ${DATA_DIR}/gpt-load.db.
# DATA_DIR also holds generated auth.key and encryption.key files.
DATA_DIR=./data
DATABASE_DSN=
# Optional management bearer credential. A non-empty AUTH_KEY takes priority and
# must not contain whitespace. When empty, GPT-Load reads or creates
# ${DATA_DIR}/auth.key. Back up this credential securely and restrict access;
# generation logs only its path, never the full value.
AUTH_KEY=
# Optional explicit master key. When empty, GPT-Load creates
# ${DATA_DIR}/encryption.key with 0600 permissions on POSIX or a current-user
# ACL on Windows; back it up securely.
ENCRYPTION_KEY=
# Logging
LOG_LEVEL=info
LOG_FORMAT=text