Docker-S3DB/mysql.runit

12 lines
360 B
Bash

#!/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