-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.env.example
More file actions
31 lines (26 loc) · 1.16 KB
/
Copy path.env.example
File metadata and controls
31 lines (26 loc) · 1.16 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
# ── ARK Server Manager — environment ───────────────────────────────────────
# Copy to .env and fill in. In production these are set by the Unraid template.
# --- Core ---
NODE_ENV=development
API_PORT=8787
WEB_PORT=3000
# Public base URL of the web UI (reverse-proxy friendly). No trailing slash.
PUBLIC_BASE_URL=http://localhost:3000
# --- Data paths (mounted volumes on Unraid: /mnt/user/appdata/ark-manager) ---
DATA_DIR=./data
# DATABASE_URL points at the SQLite file under DATA_DIR
DATABASE_URL=file:./data/db.sqlite
# --- Security ---
# 32-byte hex (64 chars) key used to encrypt secrets at rest (AES-256-GCM).
# Generate: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
SECRETS_KEY=
# Secret used to sign session/JWT tokens. Generate the same way.
JWT_SECRET=
# --- Docker control (via least-privilege socket-proxy, NOT the raw socket) ---
# The socket-proxy container exposes a filtered Docker API over TCP.
DOCKER_HOST=tcp://socket-proxy:2375
# --- Unraid file ownership ---
PUID=99
PGID=100
# Default container timezone (used by the scheduler for cron).
TZ=UTC