[SOLVED] WARN[0000] The "MYSQL_USER" variable is not set. Defaulting to a blank string

@bluenobly is right. If you need even more details, I found three topics where I explained the different ways to pass variables (compose --env-file, .env file, env_file in compose files)