bigcapitalhq / bigcapital

💵 Bigcapital is financial accounting with intelligent reporting for faster decision-making, an open-source alternative to Quickbooks, Xero, etc.
https://bigcapital.app
GNU Affero General Public License v3.0
2.27k stars 176 forks source link

Nginx proxy loses connection to server or webapp containers after assigning new internal private IP. #486

Closed abouolia closed 2 weeks ago

abouolia commented 3 weeks ago

Nginx proxy loses connection to server or webapp containers after assigning new internal private IP because if one of these containers restarted, Docker automatically will assign a new IP address to it , the cached DNS resolution of nginx will not be able to connect to new container IP because the DNS resolution being done in server starting (so always reloading/restarting the nginx refreshes the DNS)

linear[bot] commented 3 weeks ago

BIG-193 Nginx proxy loses connection to server or webapp containers after assigning new internal private IP.