Skip to content

Commit

Permalink
In test, label both services
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 committed Jan 26, 2024
1 parent e3062a4 commit 8a625b4
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions test/services/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 8a625b4

Please sign in to comment.