summaryrefslogtreecommitdiff
path: root/services/restore.yml
diff options
context:
space:
mode:
authorSystem administrator2017-06-01 10:44:24 +0200
committerSystem administrator2017-06-01 10:44:24 +0200
commit3cc6de8c6393e056961d8bc11612f54d3138c1f0 (patch)
tree120c5e8ab544e54f12b7f327766b746496dd6a74 /services/restore.yml
parent33c2361ab6f0d7bfc802d2fc10d2f29aef44867b (diff)
downloadserver-3cc6de8c6393e056961d8bc11612f54d3138c1f0.tar.gz
server-3cc6de8c6393e056961d8bc11612f54d3138c1f0.tar.xz
server-3cc6de8c6393e056961d8bc11612f54d3138c1f0.zip
Move service images
Diffstat (limited to 'services/restore.yml')
-rw-r--r--services/restore.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/services/restore.yml b/services/restore.yml
new file mode 100644
index 0000000..d1739aa
--- /dev/null
+++ b/services/restore.yml
@@ -0,0 +1,16 @@
+version: '3'
+
+services:
+ restore:
+ env_file:
+ - $IMAGES/backup/config.env
+ build: $IMAGES/backup/duplicity
+ command: /bin/sh /restore.sh
+ hostname: duplicity
+ restart: "no"
+ volumes:
+ - ./restored:/data
+ - $IMAGES/backup/gpg_keys:/gpg_keys
+
+volumes:
+ cache: