mirror of
https://github.com/ViViDboarder/docker-duplicity-cron.git
synced 2024-11-23 15:06:32 +00:00
wip
This commit is contained in:
parent
6c28a96a22
commit
838878c4ff
10
itest/docker-compose.yml
Normal file
10
itest/docker-compose.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
version: '2'
|
||||||
|
services:
|
||||||
|
|
||||||
|
duplicity:
|
||||||
|
build: ../Dockerfile.ubuntu
|
||||||
|
volumes:
|
||||||
|
- duplicity-test-data:/data
|
||||||
|
- duplicity-test-backups:/backups
|
||||||
|
environment:
|
||||||
|
FOO: bar
|
9
itest/itest.sh
Executable file
9
itest/itest.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
docker-compose up -d
|
||||||
|
docker-compose exec duplicity sh -c "mkdir -p /data && echo Test > /data/test.txt"
|
||||||
|
docker-compose down
|
||||||
|
docker-compose up
|
||||||
|
docker volumes rm duplicity-test-data
|
||||||
|
docker-compose up -d
|
||||||
|
docker-compose exec duplicity /restore.sh
|
Loading…
Reference in New Issue
Block a user