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