fix port conflict

This commit is contained in:
Saufi
2026-06-24 20:35:01 +08:00
parent 3f948032b0
commit d7b4089440
3 changed files with 28 additions and 9 deletions

View File

@@ -35,8 +35,10 @@ services:
nginx:
restart: always
# Ikat ke loopback sahaja — host nginx (reverse-proxy) yang dedah domain awam.
# Port unik supaya tidak berlanggar dgn projek lain (spr2026=8007, taklimat=8008).
ports:
- "${APP_PORT:-80}:80"
- "127.0.0.1:${APP_PORT:-8009}:80"
# ── Node (opsional) ────────────────────────────────────────────────────────
# UI guna CDN + CSS statik (public/css/koipb.css) — TIADA langkah build Vite.