[SOLVED] How to pass Docker URLs between containers


#1

Sonarr version (exact version): 2.0.0.5322
Mono version (if Sonarr is not running on Windows): 5.18.1.0
OS: macOS 10.14.5
Debug logs:
Downloading nzb for episode ‘’ failed (http://nzbhydra:7891/nzbhydra/getnzb/api/FOO?apikey=BAR: DNS Name Resolution Failure: ‘nzbhydra’
Description of issue:
I’m running nginx reverse proxy to map Sonarr, NZBGet and NZBHydra to http://mydomain.com/. How do I configure sonarr to pass parameters to the other app without error?

[SOLUTION]
I was running my containers using 'docker start '. I had to put them all in a docker-compose file and run them all together.


#2

That name would need to be able to be resolved via DNS, not sure how docker handles that.