discovery service configured, setting up for wsgi