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:
|
2022-01-21 09:02:01 +00:00
|
|
|
# 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
|
2022-01-21 09:02:01 +00:00
|
|
|
# can delete/prune the other clients archives/repos
|
2019-07-05 11:25:16 +00:00
|
|
|
BORG_APPEND_ONLY: "no"
|
|
|
|
|
2022-01-21 09:02:01 +00:00
|
|
|
# Filename of Admins SSH-Key; has full access to all repos
|
2019-07-05 11:25:16 +00:00
|
|
|
BORG_ADMIN: ""
|
|
|
|
restart: unless-stopped
|