This commit is contained in:
2026-08-10 15:53:53 +05:30
parent 312d2d9f4c
commit 409dffe938
2 changed files with 6 additions and 1 deletions

View File

@@ -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;"]

View File

@@ -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;