Get getaddrinfo ENOTFOUND mysql when running container in another OS

You probably are well past solving, but for future reference for those searching and finding this:

In your docker-compose file, make sure that your strapi environment variable DATABASE_HOST matches your mysql service name. In their documentation, they called their mysql service mysql.