# Backupy agent — paste-ready compose snippet. # # 1. Sign up at https://backupy.tronosfera.ru # 2. Dashboard -> Agents -> Add agent. Copy the one-time key. # 3. Save the key in `.env` next to this file: # BACKUPY_AGENT_KEY=bk_agent_xxxxxxxxxxxxxxxxxxxx # 4. docker compose up -d backupy-agent # # The agent connects out to wss://backupy.tronosfera.ru — no inbound # ports needed. services: backupy-agent: image: ghcr.io/tronosfera/backupy-agent:v0.1.0 container_name: backupy-agent restart: unless-stopped environment: BACKUPY_SERVER_URL: wss://backupy.tronosfera.ru/agents/connect BACKUPY_AGENT_KEY: ${BACKUPY_AGENT_KEY} # Set to "true" to skip Docker socket discovery (jobs still work, # but no auto-detection of databases running on this host). # BACKUPY_DISABLE_DISCOVERY: "false" volumes: # Read-only socket for Docker discovery. Drop this volume mount if # you don't want the agent to enumerate sibling containers. - /var/run/docker.sock:/var/run/docker.sock:ro # Persistent state (BoltDB queue + last-seen offsets). - backupy_agent:/var/lib/backupy # The agent runs as uid 1000 by default and is otherwise unprivileged. volumes: backupy_agent: