define( 'DB_NAME', 'wordpress' );
define( 'DB_USER', 'wordpress' );
define( 'DB_PASSWORD', 'wordpress' );
define( 'DB_HOST', 'mariadb' );just copy & paste on your wp-config.php file
if you want to test contact forms or any other thing related to forms that sends emails you can use mailhog, you need to go to: http://localhost:8025 to the web ui.
theres a plugin called "local", you will need this plugin to be able to use the mailhog config. 😉 😉