Setting up an MySQL database

@nshahril2255 go to Monitoring and check it out why it have failed.

If you use default shared instance, it’s killed by OOM (at-least that was my case). I did solve that with custom config file that disables performance schema. It runs, but with some traffic it might be killed again so additional tweaks might be required or using bigger instance should do the job.

# syntax=docker/dockerfile:1.4
FROM mysql:8

RUN <<EOF
cat << FFF > /etc/mysql/conf.d/mini.cnf
[mysqld]
performance_schema = off
FFF
EOF