Page MenuHomeSoftware Heritage

Avoid nginx depending on all the web-facing containers
ClosedPublic

Authored by olasd on Jan 24 2019, 5:16 PM.

Details

Summary

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.

Test Plan

click on all the things!

Diff Detail

Repository
rCDFD Dockerfiles for developers
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.