DONE: use ip for frontend but point to domain for api
Build Docker Image / build-backend (push) Successful in 6s
Build Docker Image / build-admin (push) Successful in 45s
Build Docker Image / build-teller (push) Successful in 20s
Build Docker Image / build-customer (push) Successful in 2m2s

This commit is contained in:
ISMAIL MASSERAN
2026-07-23 14:59:01 +08:00
parent 621cf212f5
commit 8fd3dbe393
12 changed files with 57 additions and 33 deletions
+2 -7
View File
@@ -1,17 +1,12 @@
# Host ports (change if they collide on the single server)
ADMIN_HOST_PORT=5000
TELLER_HOST_PORT=3001
CUSTOMER_HOST_PORT=3000
# Baked into images at build time (set matching Gitea secrets too)
VITE_API_URL=http://YOUR_SERVER_IP:8080
VITE_CUSTOMER_APP_URL=http://YOUR_SERVER_IP:3000
NEXT_PUBLIC_API_URL=http://YOUR_SERVER_IP:8080
VITE_API_URL=https://qms-api.erahn.com.my
NEXT_PUBLIC_API_URL=https://qms-api.erahn.com.my
# Runtime (customer Next.js server)
QR_TOKEN_SECRET=qms-branch-qr-v1
# Registry images (used by compose / deploy)
ADMIN_IMAGE=git.koppkb.com/kopkb/qms-fe-admin
TELLER_IMAGE=git.koppkb.com/kopkb/qms-fe-teller
CUSTOMER_IMAGE=git.koppkb.com/kopkb/qms-fe-customer