HomeSoftware Heritage

Avoid nginx depending on all the web-facing containers

Description

Avoid nginx depending on all the web-facing containers

To do so, we work around nginx's static DNS resolution of proxy upstreams by:

  • making sure all proxy upstreams are set in variables
  • hardcoding the DNS resolver (to the always-available internal Docker DNS resolver)

This makes nginx resolve the proxy upstreams at runtime rather than on start.

Details

Provenance
olasdAuthored on Jan 23 2019, 2:31 PM
olasdPushed on Jan 24 2019, 5:48 PM
Differential Revision
D1001: Avoid nginx depending on all the web-facing containers
Parents
rCDFDcc26d77abd4a: Add a Makefile with a check-staged target to please the pre-commit hook
Branches
Unknown
Tags
Unknown