13 lines
357 B
Text
13 lines
357 B
Text
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
# Create /etc/my.cnf to allow internal utils to JustWork:tm:
|
||
|
|
echo "[mariadb-client]" >/etc/healthcheck.cnf
|
||
|
|
echo "user = $MARIADB_USER" >>/etc/healthcheck.cnf
|
||
|
|
echo "password = $MARIADB_PASSWORD" >>/etc/healthcheck.cnf
|
||
|
|
|
||
|
|
# Call upstreamed mariadb entrypoint.
|
||
|
|
echo "Running docker-entrypoint"
|
||
|
|
/usr/local/bin/docker-entrypoint.sh mariadbd
|
||
|
|
|
||
|
|
sleep 60
|