webserver: use port and ip from environment
database fix