infra: change host port to 6974
All checks were successful
Build & Push / build-and-push (push) Successful in 1m24s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-25 21:31:59 +01:00
parent c7d466f9ef
commit fcd5e51276
2 changed files with 5 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ services:
image: code.letsbe.solutions/letsbe/letsbebiz-site:latest
restart: unless-stopped
ports:
- "127.0.0.1:3847:3000"
- "127.0.0.1:6974:3000"
environment:
DATABASE_URI: postgresql://${POSTGRES_USER:-letsbe}:${POSTGRES_PASSWORD}@db:5432/letsbe
PAYLOAD_SECRET: ${PAYLOAD_SECRET}

View File

@@ -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:3847;
proxy_pass http://127.0.0.1:6974;
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:3847;
proxy_pass http://127.0.0.1:6974;
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:3847;
proxy_pass http://127.0.0.1:6974;
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:3847;
proxy_pass http://127.0.0.1:6974;
proxy_cache_valid 200 30d;
add_header Cache-Control "public, max-age=2592000";
}