Docker-Runit/s3db/mysql.runit

13 lines
357 B
Text
Raw Normal View History

2024-02-15 16:39:05 +00:00
#!/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