From f14b796aab0add36e655b8d8c4235fedd9cdee5f Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Fri, 26 Jan 2024 16:18:48 +0100 Subject: [PATCH] In test, label both services --- test/services/docker-compose.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/test/services/docker-compose.yml b/test/services/docker-compose.yml index 69e083f..494676c 100644 --- a/test/services/docker-compose.yml +++ b/test/services/docker-compose.yml @@ -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: