From 51e5086e07781ac57465b3dbb0de0c06af778f14 Mon Sep 17 00:00:00 2001 From: Lucas Silva Date: Fri, 13 Mar 2026 23:15:46 -0300 Subject: [PATCH] change container port from 80 to 4173 --- Dockerfile | 2 +- docker-compose.yml | 4 ++-- nginx.conf | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5c2f2b4..17ac9fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,4 +33,4 @@ COPY --from=builder /app/dist /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf # Expose the nginx port -EXPOSE 80 +EXPOSE 4173 diff --git a/docker-compose.yml b/docker-compose.yml index 5459689..bdf5a2c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: dockerfile: Dockerfile container_name: monochrome ports: - - '${MONOCHROME_PORT:-3000}:80' + - '${MONOCHROME_PORT:-3000}:4173' environment: AUTH_ENABLED: ${AUTH_ENABLED:-false} AUTH_SECRET: ${AUTH_SECRET:-} @@ -18,7 +18,7 @@ services: networks: - monochrome-network healthcheck: - test: ['CMD', 'wget', '--no-verbose', '--tries=1', '--spider', 'http://localhost:80/'] + test: ['CMD', 'wget', '--no-verbose', '--tries=1', '--spider', 'http://localhost:4173/'] interval: 30s timeout: 3s retries: 3 diff --git a/nginx.conf b/nginx.conf index 7d7bf3a..eec65a6 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,6 +1,6 @@ server { - listen 80; - listen [::]:80; + listen 4173; + listen [::]:4173; location / { root /usr/share/nginx/html;