1
0
mirror of https://github.com/offen/docker-volume-backup.git synced 2025-11-29 05:46:50 +02:00

Run tests using compose v2 (#178)

This commit is contained in:
Frederik Ring
2023-01-07 18:50:27 +01:00
committed by GitHub
parent 1cb4883458
commit 9b7af67a26
12 changed files with 47 additions and 47 deletions

View File

@@ -12,10 +12,10 @@ export TEST_VERSION="${TEST_VERSION:-canary}-with-rsync"
docker build . -t offen/docker-volume-backup:$TEST_VERSION
docker-compose up -d
docker compose up -d
sleep 5
docker-compose exec backup backup
docker compose exec backup backup
sleep 5
@@ -25,4 +25,4 @@ if [ ! -f "./local/app_data/offen.db" ]; then
fail "Could not find expected file in untared archive."
fi
docker-compose down --volumes
docker compose down --volumes