Fixed various docker issues
Some important environment variables were not set.