mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-23 00:18:06 +00:00
Replaced wget with nc in entrypoint to support PostgreSQL (#6403)
Co-authored-by: Kirill Popov <kirill.popov@sbermarket.ru>
This commit is contained in:
parent
c9cffa00db
commit
b32b11982e
@ -11,7 +11,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
MYSQL="${MYSQL_HOST:-mysql}":"${MYSQL_PORT:-3306}"
|
MYSQL="${MYSQL_HOST:-mysql}":"${MYSQL_PORT:-3306}"
|
||||||
while ! wget -O /dev/null -o /dev/null "${MYSQL}";
|
while ! nc -z -w 5 "${MYSQL}";
|
||||||
do echo "Trying to connect to ${MYSQL}"; sleep 5;
|
do echo "Trying to connect to ${MYSQL}"; sleep 5;
|
||||||
done
|
done
|
||||||
cd /openmetadata-*/
|
cd /openmetadata-*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user