Update README.md (#130)

Replace deprecated exec-pre label
This commit is contained in:
Alexander Zimmermann 2022-07-14 13:47:54 +02:00 committed by GitHub
parent b441cf3e2b
commit 3f10d0f817
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1113,7 +1113,7 @@ services:
database: database:
image: mariadb:latest image: mariadb:latest
labels: labels:
- docker-volume-backup.exec-pre=/bin/sh -c 'mysqldump -psecret --all-databases > /tmp/dumps/dump.sql' - docker-volume-backup.archive-pre=/bin/sh -c 'mysqldump -psecret --all-databases > /tmp/dumps/dump.sql'
volumes: volumes:
- app_data:/tmp/dumps - app_data:/tmp/dumps
backup: backup: