Added example of discovery in conf and env vars