mirror of
https://github.com/TronoSfera/backupy-agent.git
synced 2026-05-18 10:03:30 +03:00
Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f2a203d6cc | ||
|
|
55571c7c4c |
2 changed files with 33 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ Open-source backup agent for the [Backupy](https://backupy.tronosfera.ru) backup
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
backupy-agent:
|
backupy-agent:
|
||||||
image: ghcr.io/tronosfera/backupy-agent:v0.1.0
|
image: ghcr.io/tronosfera/backupy-agent:0.1.0
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
BACKUPY_SERVER_URL: wss://backupy.tronosfera.ru/agents/connect
|
BACKUPY_SERVER_URL: wss://backupy.tronosfera.ru/agents/connect
|
||||||
|
|
|
||||||
32
docker-compose.example.yml
Normal file
32
docker-compose.example.yml
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
# 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:0.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:
|
||||||
Loading…
Reference in a new issue