docker-borgserver/docker-compose.yml

24 lines
460 B
YAML
Raw Normal View History

2019-07-05 11:25:16 +00:00
version: '3'
services:
borgserver:
2020-03-26 17:16:56 +00:00
#image: nold360/borgserver
build:
context: .
dockerfile: Dockerfile.pullgit
2019-07-05 11:25:16 +00:00
volumes:
- ./backup:/backup
- ./sshkeys:/sshkeys
ports:
- "2222:22"
2020-03-26 17:16:56 +00:00
env_file: .env
2019-07-05 11:25:16 +00:00
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