20 lines
744 B
Bash
20 lines
744 B
Bash
# Set this to a long random value before exposing the panel to your team.
|
|
PANEL_API_TOKEN=replace-with-a-long-random-token
|
|
|
|
# SQLite database location. The account running the API must be able to write here.
|
|
PANEL_DATABASE_PATH=./data/panel.db
|
|
|
|
# systemd user manager runtime. Replace 1000 with the Linux account UID.
|
|
XDG_RUNTIME_DIR=/run/user/1000
|
|
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
|
|
|
|
# Comma-separated browser origins allowed to call the API.
|
|
PANEL_CORS_ORIGINS=http://localhost:5173
|
|
|
|
# Optional Nezha V2 monitor source. Use a read-only PAT with
|
|
# nezha:inventory:read and restrict it to the target server ID when possible.
|
|
NEZHA_URL=https://nezha.example.com
|
|
NEZHA_TOKEN=nzp_replace-with-read-only-token
|
|
NEZHA_SERVER_ID=1
|
|
|