mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-21 13:23:12 +01:00
Fix example
This commit is contained in:
@@ -6,7 +6,6 @@ services:
|
||||
image: mariadb:latest
|
||||
volumes:
|
||||
- ./db:/var/lib/mysql
|
||||
- ./post-script.sh:/assets/custom-scripts/post-script.sh
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=examplerootpassword
|
||||
- MYSQL_DATABASE=example
|
||||
@@ -21,6 +20,7 @@ services:
|
||||
- example-db
|
||||
volumes:
|
||||
- ./backups:/backup
|
||||
- ./post-script.sh:/assets/custom-scripts/post-script.sh
|
||||
environment:
|
||||
- DB_TYPE=mariadb
|
||||
- DB_HOST=example-db
|
||||
|
||||
Reference in New Issue
Block a user