From c7d466f9efdc1ed05244495f930a39c21063e2bd Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 25 Mar 2026 21:17:49 +0100 Subject: [PATCH] infra: change host port from 3000 to 3847 Port 3000 is already in use on the server. Co-Authored-By: Claude Opus 4.6 (1M context) --- docker-compose.prod.yml | 2 +- nginx/staging.letsbe.biz.conf | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index a148d33..14d34bd 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -18,7 +18,7 @@ services: image: code.letsbe.solutions/letsbe/letsbebiz-site:latest restart: unless-stopped ports: - - "127.0.0.1:3000:3000" + - "127.0.0.1:3847:3000" environment: DATABASE_URI: postgresql://${POSTGRES_USER:-letsbe}:${POSTGRES_PASSWORD}@db:5432/letsbe PAYLOAD_SECRET: ${PAYLOAD_SECRET} diff --git a/nginx/staging.letsbe.biz.conf b/nginx/staging.letsbe.biz.conf index c00a99f..96a067d 100644 --- a/nginx/staging.letsbe.biz.conf +++ b/nginx/staging.letsbe.biz.conf @@ -6,7 +6,7 @@ server { # Certbot will add SSL config after: sudo certbot --nginx -d staging.letsbe.biz location / { - proxy_pass http://127.0.0.1:3000; + proxy_pass http://127.0.0.1:3847; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; @@ -20,21 +20,21 @@ server { # Static assets — long cache location /_next/static/ { - proxy_pass http://127.0.0.1:3000; + proxy_pass http://127.0.0.1:3847; proxy_cache_valid 200 365d; add_header Cache-Control "public, max-age=31536000, immutable"; } # Public assets location /images/ { - proxy_pass http://127.0.0.1:3000; + proxy_pass http://127.0.0.1:3847; proxy_cache_valid 200 30d; add_header Cache-Control "public, max-age=2592000"; } # Payload media uploads location /media/ { - proxy_pass http://127.0.0.1:3000; + proxy_pass http://127.0.0.1:3847; proxy_cache_valid 200 30d; add_header Cache-Control "public, max-age=2592000"; }