Use environment settings in database config

Since database settings has been added to .env I thought it could be a code idea to use them in database config as well.