Sonarr
- Add support for http://sonarr.tv/ in its own docker container
Frontend
- Add sonarr as a endpoint for the frontend proxy
- Don't resolve hostnames initially which fixes an longstanding issue
where nginx will crash if the other containers aren't up since their
hostnames won't be resolvable:
- Set resolver to 127.0.0.11 which is Docker's DNS for resolving
services
- Removed upstream block and declared upstream in set statements
Signed-off-by: Kelvin Chen <kelvin@kelvinchen.org>
Use leading ampersands instead of trailing ampersands as per the
examples on the docker website. e.g.
long command \
&& another command
Also change the build-all script to update the debian image when
building the base image.
If the USE_SSl var is true and the private key and certificate does not
exist, then automatically create self signed keys. The common name would
be invalid so you would have to change it later. This addition was added
so the server would not crash if USE_SSL is true and keys do not exist.