Because NGINX only resolves hostnames at startup and the IP addresses assigned to Docker containers are not fixed, we sometimes have this condition:
…which leads to this kind of nastiness:
[x] Make failures obvious by moving KoBoCAT to port 8001 (instead of 8000, which is used by KPI)
These are internal, Docker-only ports that should not conflict with other services running on the host; this should be obvious given that even two containers exposing the same port does not cause a conflict;
Eh, it looks like we would need to hard-code resolver 127.0.0.11, which supposedly will never change, but isn't something I can find in the official documentation. I'm not sure that would really be an improvement.
Because NGINX only resolves hostnames at startup and the IP addresses assigned to Docker containers are not fixed, we sometimes have this condition:
…which leads to this kind of nastiness:
See if we can get NGINX to re-resolve hostnames after starting, without needing an NGINX Plus license: https://www.nginx.com/blog/dns-service-discovery-nginx-plus/resolver 127.0.0.11
, which supposedly will never change, but isn't something I can find in the official documentation. I'm not sure that would really be an improvement.