the config.php file is now written with env var

also, the IP of the mysql container is taken from the address in
/etc/hosts.