-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (25 loc) · 1.3 KB
/
.env.example
File metadata and controls
33 lines (25 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ──────────────────────────────────────────────
# Onyx HTTP API – Environment Configuration
# ──────────────────────────────────────────────
# Copy this file to .env and adjust the values.
# ── Telnet connection to Onyx Manager ─────────
TELNET_HOST=127.0.0.1
TELNET_PORT=2323
# Seconds before a telnet command times out
TELNET_TIMEOUT=10
# Automatically reconnect if the socket drops
TELNET_AUTO_RECONNECT=true
# Seconds between reconnection attempts
TELNET_RECONNECT_INTERVAL=5
# ── HTTP server ───────────────────────────────
HTTP_PORT=8000
HTTP_HOST=0.0.0.0
# ── Authentication (optional) ────────────────
# Set to true to require a Bearer token on every request.
AUTH_ENABLED=false
# The token clients must send in the Authorization header.
# Only used when AUTH_ENABLED=true.
AUTH_TOKEN=change-me-to-a-long-random-string
# ── Logging ───────────────────────────────────
# Verbosity: debug | info | warn | error
LOG_LEVEL=debug