From a741486bb3f94a44e0437a0db921cafbdf182d64 Mon Sep 17 00:00:00 2001 From: nold Date: Fri, 5 Jul 2019 13:25:16 +0200 Subject: [PATCH] Add: docker-compose.yml --- docker-compose.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..aabaf84 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,20 @@ +version: '3' +services: + borgserver: + image: nold360/borgserver + #build: . + volumes: + - ./backup:/backup + - ./sshkeys:/sshkeys + ports: + - "2222:22" + 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