refactor: update ports to use 80 for front-end services in Docker and Nginx configuration

This commit is contained in:
Thibault Pouch
2026-03-03 09:48:22 +01:00
parent f54f237dd9
commit 11708032bd
5 changed files with 7 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf.template
EXPOSE 5173
EXPOSE 80
# API_URL is the backend's public base URL used by nginx proxy_pass.
# Set this at runtime in Coolify, e.g. API_URL=https://api.crowmate.fr

View File

@@ -2,5 +2,5 @@ services:
nest-front:
build: .
ports:
- "5173:5173"
- "80:80"
restart: unless-stopped

View File

@@ -1,5 +1,5 @@
server {
listen 5173;
listen 80;
root /usr/share/nginx/html;
index index.html;

View File

@@ -7,4 +7,7 @@ export default defineConfig({
react(),
tailwindcss(),
],
server: {
port: 80,
},
})