Skip to content

Conversation

Prajapati-ankit-it
Copy link


What kind of change does this PR introduce?

🚀 Feature

Why was this change needed?

The backend previously used a dynamic port (process.env.PORT || 3000). This caused unpredictable behavior in deployment environments where a PORT value was injected, breaking assumptions in Docker Compose and other services:

  • The load balancer failed to start because it expected the backend on port 3000
  • The frontend and other services couldn’t connect to the backend
  • The app appeared broken despite services running

By switching to a static port (3000), the backend is consistent with:

  • The documented Docker Compose setup
  • Internal proxy configurations
  • Expectations from other apps and services

This ensures predictable network topology and smoother deployment.

Other information

Checklist


Setting a fixed port ensures that the expected network topology behaves as documented.
Copy link

vercel bot commented Sep 14, 2025

@Prajapati-ankit-it is attempting to deploy a commit to the Listinai Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant