docker-borgserver/docker-compose.yml
2020-03-26 18:16:56 +01:00

24 lines
460 B
YAML

version: '3'
services:
borgserver:
#image: nold360/borgserver
build:
context: .
dockerfile: Dockerfile.pullgit
volumes:
- ./backup:/backup
- ./sshkeys:/sshkeys
ports:
- "2222:22"
env_file: .env
environment:
BORG_SERVE_ARGS: ""
# If set to "yes", only the BORG_ADMIN
# can delete/prune the all clients archives/repos
BORG_APPEND_ONLY: "no"
# Hostname of Admin's SSH-Key
BORG_ADMIN: ""
restart: unless-stopped