Add support for docker, fix mongo connection, return 404 if repo not found in config, make DEBUG env variable lowercase