mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-07-04 17:16:11 +00:00
Compare commits
2 Commits
13d43c1b51
...
b23d465817
Author | SHA1 | Date | |
---|---|---|---|
b23d465817 | |||
40b2779cfb |
@ -16,7 +16,7 @@ if [ "$PHP_HARDENING" == "true" ] && [ ! -f /usr/local/etc/php/conf.d/snuffleupa
|
||||
fi
|
||||
|
||||
# Check if database is available
|
||||
if [ -n "${DB_TYPE}" ] && [ "${DB_TYPE}" != "sqlite3" ]; then
|
||||
if [ ${DB_TYPE} != "sqlite3" ]; then
|
||||
until nc -z "${DB_HOST:-nextcloud-db}" "${DB_PORT:-3306}"
|
||||
do
|
||||
echo "waiting for the database container..."
|
||||
|
Reference in New Issue
Block a user