From 251cac9807959f2f6cdf4edf355a73b41049e1ca Mon Sep 17 00:00:00 2001 From: bonamin Date: Mon, 28 Sep 2026 19:06:45 +0300 Subject: [PATCH] =?UTF-8?q?chore:=20retire=20the=20per-client=20domain=20s?= =?UTF-8?q?etup=20(plan=20step=209);=20addresses=20=E2=86=92=20bonamin.net?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - remove setup-ssl.sh (mkcert IP certs) - superseded by install.sh's self-signed cert and the backend-managed TLS identity - manager: "Waiter Domain (παλιό σύστημα)" - shown only for sites that still have one - .env.example: REGISTRY=registry.bonamin.net and CLOUD_URL=https://xenia-api.bonamin.net (it pointed at the admin panel, xenia-admin, even before the domain move); install.sh points to the sysadmin panel at xenia-admin.bonamin.net - pack README registry example updated Proxy config unchanged (HTTPS domain blocks stay so not-yet-migrated sites keep working until their visit). Co-Authored-By: Claude Opus 5.5 --- .env.example | 4 +- docs/README.md | 2 +- install.sh | 2 +- .../src/pages/Settings/tabs/AppInfoTab.jsx | 3 +- setup-ssl.sh | 67 ------------------- 5 files changed, 6 insertions(+), 72 deletions(-) delete mode 100644 setup-ssl.sh diff --git a/.env.example b/.env.example index 5c3364c..cad4746 100644 --- a/.env.example +++ b/.env.example @@ -1,11 +1,11 @@ # Registry -REGISTRY=registry.bonamin.gr +REGISTRY=registry.bonamin.net VERSION=0.1.0 # Backend runtime secrets (get SITE_ID and SITE_KEY from the sysadmin panel) SITE_ID=your-site-id SITE_KEY=your-site-key -CLOUD_URL=https://xenia-admin.bonamin.gr +CLOUD_URL=https://xenia-api.bonamin.net SECRET_KEY=generate-with-openssl-rand-hex-32 LICENSE_GRACE_HOURS=24 diff --git a/docs/README.md b/docs/README.md index 089f4e4..267643f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -101,7 +101,7 @@ cd waiter_pwa; npm run lint # Build release images (VERSION comes from .env). See the parent's DEPLOYMENT_GUIDE.md. docker compose -f docker-compose.yml -f docker-compose.dev.yml build -docker push registry.bonamin.gr/pos-backend: # + pos-waiter, pos-manager +docker push registry.bonamin.net/pos-backend: # + pos-waiter, pos-manager ``` ## Native Android app (waiter_pwa) diff --git a/install.sh b/install.sh index 3565e7b..466461a 100644 --- a/install.sh +++ b/install.sh @@ -61,7 +61,7 @@ if [ ! -f "$SCRIPT_DIR/.env" ]; then echo " A .env file has been created from .env.example." echo " You must fill in SITE_ID, SITE_KEY, and SECRET_KEY before starting." echo "" - echo " Get SITE_ID and SITE_KEY from: https://xenia-admin.bonamin.gr" + echo " Get SITE_ID and SITE_KEY from: https://xenia-admin.bonamin.net" echo " Generate SECRET_KEY with: openssl rand -hex 32" echo "" diff --git a/manager_dashboard/src/pages/Settings/tabs/AppInfoTab.jsx b/manager_dashboard/src/pages/Settings/tabs/AppInfoTab.jsx index ae08fc0..c6a9a0f 100644 --- a/manager_dashboard/src/pages/Settings/tabs/AppInfoTab.jsx +++ b/manager_dashboard/src/pages/Settings/tabs/AppInfoTab.jsx @@ -557,7 +557,8 @@ export default function AppInfoTab() { )} {status?.waiter_domain && ( <> -
Waiter Domain
+ {/* Retired per-client domain setup (plan step 9): shown only for sites that still have one */} +
Waiter Domain (παλιό σύστημα)
{status.waiter_domain}