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
|
image: mariadb:latest
|
||||||
volumes:
|
volumes:
|
||||||
- ./db:/var/lib/mysql
|
- ./db:/var/lib/mysql
|
||||||
- ./post-script.sh:/assets/custom-scripts/post-script.sh
|
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=examplerootpassword
|
- MYSQL_ROOT_PASSWORD=examplerootpassword
|
||||||
- MYSQL_DATABASE=example
|
- MYSQL_DATABASE=example
|
||||||
@@ -21,6 +20,7 @@ services:
|
|||||||
- example-db
|
- example-db
|
||||||
volumes:
|
volumes:
|
||||||
- ./backups:/backup
|
- ./backups:/backup
|
||||||
|
- ./post-script.sh:/assets/custom-scripts/post-script.sh
|
||||||
environment:
|
environment:
|
||||||
- DB_TYPE=mariadb
|
- DB_TYPE=mariadb
|
||||||
- DB_HOST=example-db
|
- DB_HOST=example-db
|
||||||
|
|||||||
Reference in New Issue
Block a user