docker-borgserver/docker-compose.yml

22 lines
517 B
YAML
Raw Permalink Normal View History

2019-07-05 11:25:16 +00:00
version: '3'
services:
borgserver:
image: nold360/borgserver
#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