DONE: update to use ip for the api in frontend
Build Docker Image / build-backend (push) Successful in 6s
Build Docker Image / build-admin (push) Successful in 7s
Build Docker Image / build-teller (push) Successful in 5s
Build Docker Image / build-customer (push) Successful in 12s

This commit is contained in:
ISMAIL MASSERAN
2026-07-26 14:08:13 +08:00
parent 8fd3dbe393
commit d0f5d4c979
13 changed files with 97 additions and 22 deletions
+2 -13
View File
@@ -1,25 +1,14 @@
# Host ports (used until nginx terminates TLS on 443)
# Host ports (nginx terminates TLS on 443 and proxies to these)
ADMIN_HOST_PORT=5000
TELLER_HOST_PORT=3001
CUSTOMER_HOST_PORT=3000
# Domains — also set these as Gitea secrets, then rebuild FE images
# VITE_API_URL / NEXT_PUBLIC_API_URL = https://qms-api.erahn.com.my
# VITE_CUSTOMER_APP_URL = https://qms-customer.erahn.com.my
VITE_API_URL=https://qms-api.erahn.com.my
VITE_CUSTOMER_APP_URL=https://qms-customer.erahn.com.my
NEXT_PUBLIC_API_URL=https://qms-api.erahn.com.my
VITE_BRANCH_QR_BASE_URL=https://qms-customer.erahn.com.my
# Public app URLs (reference for nginx / bookmarks)
# ADMIN: https://qms-admin.erahn.com.my
# TELLER: https://qms-teller.erahn.com.my
# CUSTOMER: https://qms-customer.erahn.com.my
# API: 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