forked from wernight/docker-duplicity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
restore.yml
37 lines (36 loc) · 943 Bytes
/
restore.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: '3.6'
services:
duplicity:
container_name: ${COMPOSE_PROJECT_NAME}-restore
image: clarity/duplicity
environment:
- TMPDIR=/tmp
- PASSPHRASE=${PASSPHRASE}
volumes:
- type: tmpfs
target: /tmp
- type: volume
source: gnupg
target: /home/duplicity/.gnupg
- type: volume
source: cache
target: /home/duplicity/.cache/duplicity
- type: bind
source: ./filelist.txt
target: /home/duplicity/filelist.txt
- type: bind
source: ./backup
target: /backup
- type: bind
source: ./restore
target: /data
command: -v6 --force --allow-source-mismatch restore file:///backup /data
volumes:
gnupg:
name: ${COMPOSE_PROJECT_NAME}_gnupg
cache:
name: ${COMPOSE_PROJECT_NAME}_cache
networks:
default:
external:
name: ${NETWORK:-clarity}