# beszel stack tunables. Copy to `.env` on each server before deploying. # # cp .env.example .env # # edit for this host # docker compose up -d # # Same compose.yaml on both servers — COMPOSE_PROFILES picks the role. # Image version — pin for reproducibility (`latest` for edge) BESZEL_VERSION=latest # ------------------------------------------------------------------------ # On ana-docker (hub + local agent): # COMPOSE_PROFILES=hub,agent # BESZEL_PORT=8090 # BESZEL_HUB_KEY= # # On ana-ml2 (agent only): # COMPOSE_PROFILES=agent # BESZEL_HUB_KEY= # ------------------------------------------------------------------------ COMPOSE_PROFILES=hub,agent # ---- Hub-only ----------------------------------------------------------- # Host port for the web UI (container listens on 8090 internally). BESZEL_PORT=8090 # ---- Agent-only --------------------------------------------------------- # Host port the agent listens on. The hub SSHes into agents over this port. BESZEL_AGENT_PORT=45876 # Hub's SSH public key — paste from the hub UI on first run. # Grab it by clicking "Add System" → copy the key shown in the dialog. BESZEL_HUB_KEY= # Docker must bind-mount extra filesystems; select this host's override. # Example for ana-ml2 (see README for the other hosts): # COMPOSE_FILE=compose.yaml:hosts/ana-ml2.yaml # BESZEL_EXTRA_FS=/extra-filesystems/tank,/extra-filesystems/home # Paths below are INSIDE the container, not unmounted host paths. BESZEL_EXTRA_FS= # Optional outbound agent authentication (leave blank for SSH-key mode). HUB_URL= BESZEL_TOKEN=