From 409dffe938f61387c1a1d8c5693116258c19cb52 Mon Sep 17 00:00:00 2001 From: Aravind Date: Mon, 10 Aug 2026 15:53:53 +0530 Subject: [PATCH] fix port --- Dockerfile | 2 +- nginx.conf | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9be98aa..e822330 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,6 @@ COPY --from=build /app/dist /usr/share/nginx/html COPY nginx.conf /etc/nginx/nginx.conf -EXPOSE 80 +EXPOSE 80 3000 CMD ["nginx", "-g", "daemon off;"] diff --git a/nginx.conf b/nginx.conf index cb40136..29af0b4 100644 --- a/nginx.conf +++ b/nginx.conf @@ -38,7 +38,12 @@ http { font/woff2; server { + # 80 is the conventional port; 3000 is what Dokploy targets by default in + # its domain config. Binding both means Traefik reaches the app whichever + # one the dashboard's Port field is set to, so a deploy can't 502 purely + # because those two numbers disagree. listen 80; + listen 3000; server_name _; root /usr/share/nginx/html;