docker-borgserver/docker-compose.yml

22 lines
537 B
YAML
Raw Normal View History

2019-07-05 11:25:16 +00:00
version: '3'
services:
borgserver:
2024-01-13 02:14:36 +00:00
image: git.merp.digital/eranmorkon/borgserver
2019-07-05 11:25:16 +00:00
#build: .
volumes:
- ./backup:/backup
- ./sshkeys:/sshkeys
ports:
- "2222:22"
environment:
# Additional Arguments, see https://borgbackup.readthedocs.io/en/stable/usage/serve.html
2019-07-05 11:25:16 +00:00
BORG_SERVE_ARGS: ""
# If set to "yes", only the BORG_ADMIN
# can delete/prune the other clients archives/repos
2019-07-05 11:25:16 +00:00
BORG_APPEND_ONLY: "no"
# Filename of Admins SSH-Key; has full access to all repos
2019-07-05 11:25:16 +00:00
BORG_ADMIN: ""
restart: unless-stopped