2022-08-28 09:38:02 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-09-01 10:15:52 +00:00
|
|
|
# Create /etc/my.cnf to allow internal utils to JustWork:tm:
|
2022-09-01 13:28:13 +00:00
|
|
|
echo "[mariadb-client]" > /etc/healthcheck.cnf
|
|
|
|
echo "user = $MARIADB_USER" >> /etc/healthcheck.cnf
|
|
|
|
echo "password = $MARIADB_PASSWORD" >> /etc/healthcheck.cnf
|
2022-09-01 10:15:52 +00:00
|
|
|
|
|
|
|
# Call upstreamed mariadb entrypoint.
|
2022-08-28 09:38:02 +00:00
|
|
|
echo "Running docker-entrypoint"
|
|
|
|
/usr/local/bin/docker-entrypoint.sh mariadbd
|
|
|
|
|
|
|
|
sleep 60
|