mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-07-05 01:26:12 +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
|
fi
|
||||||
|
|
||||||
# Check if database is available
|
# 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}"
|
until nc -z "${DB_HOST:-nextcloud-db}" "${DB_PORT:-3306}"
|
||||||
do
|
do
|
||||||
echo "waiting for the database container..."
|
echo "waiting for the database container..."
|
||||||
|
Reference in New Issue
Block a user