8000 [Bug]: Nginx proxy conflict when making a database public with a nginx:stable-alpine docker app on same server · Issue #5978 · coollabsio/coolify · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug]: Nginx proxy conflict when making a database public with a nginx:stable-alpine docker app on same server #5978
Closed
@A-RENARD

Description

@A-RENARD

Error Message and Logs

nginx: [emerg] host not found in upstream "abc123" in /etc/nginx/nginx.conf:12

Steps to Reproduce

  1. Setup a remote server on coolify
  2. Setup 2 different networks (eg: network_1 and network_2) on this server
  3. Deploy a new postgresql database on network_1, and make it public. Assuming its container name is abc123
  4. This must create a new unmanaged resource on server using nginx:stable-alpine
  5. Deploy a git based application using the same nginx:stable-alpine image on network_2
  6. Redeploy the nginx app, with default conf :
  7. if helthcheck enabled : the deployment will fail with error nginx: [emerg] host not found in upstream "abc123" in /etc/nginx/nginx.conf:12
  8. if helthcheck disabled : the deployement will succed but the container will always restart with the same error

Example Repository URL

No response

Coolify Version

v4.0.0-beta.418

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 24.04.2 LTS

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0