Docker-PHP/s3db/mysql.runit
2024-02-15 17:39:05 +01:00

12 lines
357 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