mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-22 05:33:53 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b956bd817f | ||
|
|
7bda69b062 | ||
|
|
bc23b6a65e |
24
CHANGELOG.md
24
CHANGELOG.md
@@ -1,10 +1,24 @@
|
||||
## 3.4.1 2022-09-13 <dave at tiredofit dot ca>
|
||||
|
||||
### Added
|
||||
- Introduce environment variables for SCRIPT_LOCATION_POST and SCRIPT_LOCATION_PRE for better seperation
|
||||
## 3.4.2 2022-09-19 <dave at tiredofit dot ca>
|
||||
|
||||
### Changed
|
||||
- Introduce deprecation warning for /assets/custom-scripts and /assets/custom-scripts/pre
|
||||
- Skip availability check for Mongo Atlas connections
|
||||
|
||||
|
||||
## 3.4.1 2022-09-13 <dave at tiredofit dot ca>
|
||||
|
||||
### Added
|
||||
- Introduce environment variables for SCRIPT_LOCATION_POST and SCRIPT_LOCATION_PRE for better seperation
|
||||
|
||||
### Deprecated
|
||||
|
||||
- Introduce deprecation warning for the custom script paths `/assets/custom-scripts` and `/assets/custom-scripts/pre`. These
|
||||
paths will continue to work for now but support may be removed in the next major version release. To support the new
|
||||
default paths your scripts should be moved as follows:
|
||||
|
||||
|Script Type|Old Path (Deprecated)|New Environment Variable|Environment Value Default|
|
||||
|-----------|--------|-------------------------|----------------|
|
||||
|Pre|`/assets/custom-scripts/pre`|SCRIPT_LOCATION_PRE|`/assets/scripts/pre`|
|
||||
|Post|`/assets/custom-scripts`|SCRIPT_LOCATION_POST|`/assets/scripts/post`|
|
||||
|
||||
|
||||
## 3.4.0 2022-09-12 <dave at tiredofit dot ca>
|
||||
|
||||
@@ -375,12 +375,14 @@ check_availability() {
|
||||
esac
|
||||
;;
|
||||
"mongo" )
|
||||
counter=0
|
||||
while ! (nc -z ${DB_HOST} ${DB_PORT}) ; do
|
||||
sleep 5
|
||||
(( counter+=5 ))
|
||||
print_warn "Mongo Host '${DB_HOST}' is not accessible, retrying.. ($counter seconds so far)"
|
||||
done
|
||||
if [ "${MONGO_HOST_TYPE,,}" != "atlas" ] ; then
|
||||
counter=0
|
||||
while ! (nc -z ${DB_HOST} ${DB_PORT}) ; do
|
||||
sleep 5
|
||||
(( counter+=5 ))
|
||||
print_warn "Mongo Host '${DB_HOST}' is not accessible, retrying.. ($counter seconds so far)"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
"mysql" )
|
||||
counter=0
|
||||
|
||||
Reference in New Issue
Block a user