mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-23 06:03:43 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd141cc865 | ||
|
|
abf2a877f7 |
@@ -1,3 +1,9 @@
|
||||
## 1.21.1 2020-06-04 <dave at tiredofit dot ca>
|
||||
|
||||
### Changed
|
||||
- Bugfix to initalization routine
|
||||
|
||||
|
||||
## 1.21.0 2020-06-03 <dave at tiredofit dot ca>
|
||||
|
||||
### Added
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -32,7 +32,7 @@ SIZE_VALUE=${SIZE_VALUE:-"bytes"}
|
||||
SPLIT_DB=${SPLIT_DB:-FALSE}
|
||||
TMPDIR=/tmp/backups
|
||||
|
||||
if [ "BACKUP_TYPE" = "S3" ] || [ "BACKUP_TYPE" = "s3" ] || [ "BACKUP_TYPE" = "MINIO" ] || [ "BACKUP_TYPE" = "minio" ]
|
||||
if [ "BACKUP_TYPE" = "S3" ] || [ "BACKUP_TYPE" = "s3" ] || [ "BACKUP_TYPE" = "MINIO" ] || [ "BACKUP_TYPE" = "minio" ] ; then
|
||||
S3_PROTOCOL=${S3_PROTOCOL:-"https"}
|
||||
sanity_var S3_HOST "S3 Host"
|
||||
sanity_var S3_BUCKET "S3 Bucket"
|
||||
|
||||
Reference in New Issue
Block a user