In test, label both services

This commit is contained in:
Frederik Ring 2024-01-26 16:18:48 +01:00
parent 978e900308
commit f14b796aab

View File

@ -6,9 +6,6 @@ version: '3.8'
services:
minio:
image: minio/minio:RELEASE.2020-08-04T23-10-51Z
deploy:
restart_policy:
condition: on-failure
environment:
MINIO_ROOT_USER: test
MINIO_ROOT_PASSWORD: test
@ -22,9 +19,6 @@ services:
image: offen/docker-volume-backup:${TEST_VERSION:-canary}
depends_on:
- minio
deploy:
restart_policy:
condition: on-failure
environment:
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: GMusLtUmILge2by+z890kQ
@ -52,13 +46,11 @@ services:
image: postgres:14-alpine
environment:
POSTGRES_PASSWORD: example
labels:
- docker-volume-backup.stop-during-backup=true
volumes:
- pg_data:/var/lib/postgresql/data
deploy:
restart_policy:
condition: on-failure
labels:
- docker-volume-backup.stop-during-backup=true
volumes:
backup_data: