summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSystem administrator2017-06-01 10:44:24 +0200
committerSystem administrator2017-06-01 10:44:24 +0200
commit3cc6de8c6393e056961d8bc11612f54d3138c1f0 (patch)
tree120c5e8ab544e54f12b7f327766b746496dd6a74
parent33c2361ab6f0d7bfc802d2fc10d2f29aef44867b (diff)
downloadserver-3cc6de8c6393e056961d8bc11612f54d3138c1f0.tar.gz
server-3cc6de8c6393e056961d8bc11612f54d3138c1f0.tar.xz
server-3cc6de8c6393e056961d8bc11612f54d3138c1f0.zip
Move service images
-rw-r--r--services/backup.yml (renamed from images/backup/backup.yml)8
-rw-r--r--services/restore.yml (renamed from images/backup/restore.yml)8
2 files changed, 8 insertions, 8 deletions
diff --git a/images/backup/backup.yml b/services/backup.yml
index c182b8d..a3b2218 100644
--- a/images/backup/backup.yml
+++ b/services/backup.yml
@@ -3,14 +3,14 @@ version: '3'
services:
backup:
env_file:
- - config.env
- build: ./duplicity
+ - $IMAGES/backup/config.env
+ build: $IMAGES/backup/duplicity
command: /bin/sh /backup.sh
- hostname: duplicity
+ hostname: backup
restart: "no"
volumes:
- cache:/cache
- - ./gpg_keys:/gpg_keys:ro
+ - $IMAGES/backup/gpg_keys:/gpg_keys:ro
- git_data:/data/git
diff --git a/images/backup/restore.yml b/services/restore.yml
index 6640b26..d1739aa 100644
--- a/images/backup/restore.yml
+++ b/services/restore.yml
@@ -1,16 +1,16 @@
version: '3'
services:
- backup:
+ restore:
env_file:
- - config.env
- build: ./duplicity
+ - $IMAGES/backup/config.env
+ build: $IMAGES/backup/duplicity
command: /bin/sh /restore.sh
hostname: duplicity
restart: "no"
volumes:
- ./restored:/data
- - ./gpg_keys:/gpg_keys
+ - $IMAGES/backup/gpg_keys:/gpg_keys
volumes:
cache: