Files
flatrender/services/node-agent/deploy/agent.env.example
T

36 lines
2.0 KiB
Bash
Raw Normal View History

# FlatRender Node Agent configuration.
# Copy to `agent.env` and place next to flatrender-node-agent.exe.
# The agent reads this file on startup (env vars still override any line here).
# ── Required ─────────────────────────────────────────────────────────────────
# UUID of this node, pre-created in render.render_nodes (admin → /admin/nodes).
NODE_ID=00000000-0000-0000-0000-000000000000
# ── Connectivity ─────────────────────────────────────────────────────────────
# Gateway base URL. Over the WireGuard mesh this is the control-plane's WG IP.
# Example (WG): http://10.66.0.1:8088 Local dev: http://localhost:8088
ORCHESTRATOR_URL=http://10.66.0.1:8088
# Shared secret for the X-Node-Signature header. MUST match NODE_HMAC_SECRET
# in the render-svc environment (.env.v2). Change from the default!
NODE_HMAC_SECRET=change-me-to-a-long-random-secret
# Region label — the orchestrator routes region-preferred jobs here.
NODE_REGION=iran-tehran-1
# ── After Effects ────────────────────────────────────────────────────────────
# Full path to aerender.exe. Leave empty to run the MOCK renderer (no AE needed).
AE_PATH=C:\Program Files\Adobe\Adobe After Effects 2024\Support Files\aerender.exe
AE_VERSION=2024
# ── Local paths / tuning ─────────────────────────────────────────────────────
# Scratch dir for downloaded .aep bundles + render output. Use a fast NVMe drive.
WORK_DIR=C:\flatrender\work
# Health endpoint port (the orchestrator and you can curl http://<node>:7777/health).
LISTEN_PORT=7777
# Loop cadences (seconds).
HEARTBEAT_INTERVAL_SEC=5
POLL_INTERVAL_SEC=3