Docker-S3DB/mysql.runit

13 lines
360 B
Text
Raw Permalink Normal View History

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:
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