Skip to content

Frontend nginx ignores backend PORT configuration #250

Description

@xyzuanli

Description

When deploying Catalyst with Docker Compose, changing the backend service port through the PORT environment variable does not update the frontend nginx proxy configuration.

The backend container starts successfully and listens on the configured port, but the frontend nginx configuration still uses a hardcoded upstream port (3000), causing all API requests to fail with 502 Bad Gateway.

Environment

  • Catalyst version: latest Docker image
  • Deployment method: Docker Compose
  • Frontend: nginx-based frontend container
  • Backend: configured with custom PORT environment variable

Actual behavior

The backend correctly starts on the configured port.

However, the frontend nginx configuration still contains a hardcoded upstream:

proxy_pass http://<backend-host>:3000;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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