From db6638d3ac8d3fc8ba7c29ae5ac2ca6d40a337b6 Mon Sep 17 00:00:00 2001 From: "Muhammad A. Ghorbani" Date: Sat, 5 Sep 2026 17:45:17 +0330 Subject: [PATCH] fix(staging): fix backend container hostname in docker-compose, resolve overlay mount race condition, and unblock mobile intro submit --- docker-compose.staging.yml | 2 +- src/app/intro/intro-client.tsx | 4 +- .../request-accepted-client.tsx | 105 +++++++++++++++--- .../Componentes/female-consent-sheet.tsx | 4 +- .../Componentes/section-overlay-host.tsx | 18 +-- src/translations/locales/ar.json | 8 +- src/translations/locales/az.json | 8 +- src/translations/locales/bn.json | 8 +- src/translations/locales/da.json | 8 +- src/translations/locales/de.json | 8 +- src/translations/locales/en.json | 8 +- src/translations/locales/es.json | 8 +- src/translations/locales/fa.json | 8 +- src/translations/locales/fr.json | 8 +- src/translations/locales/gu.json | 8 +- src/translations/locales/ha.json | 8 +- src/translations/locales/he.json | 8 +- src/translations/locales/hi.json | 8 +- src/translations/locales/id.json | 8 +- src/translations/locales/ks.json | 8 +- src/translations/locales/pt.json | 8 +- src/translations/locales/ru.json | 8 +- src/translations/locales/sw.json | 8 +- src/translations/locales/tg.json | 8 +- src/translations/locales/tr.json | 8 +- src/translations/locales/ul.json | 8 +- src/translations/locales/ur.json | 8 +- src/translations/locales/uz.json | 8 +- src/translations/locales/zh.json | 8 +- 29 files changed, 244 insertions(+), 81 deletions(-) diff --git a/docker-compose.staging.yml b/docker-compose.staging.yml index b5963e8..7efc96d 100644 --- a/docker-compose.staging.yml +++ b/docker-compose.staging.yml @@ -16,7 +16,7 @@ services: environment: - NODE_ENV=production - NEXT_PUBLIC_API_BASE_URL=https://habib.nwhco.ir - - API_BASE_URL=http://web:8000 + - API_BASE_URL=http://najm_staging_web:8000 - NEXT_PUBLIC_SECURITY_KEY=t5yugymks5458fd4ghfg6h6fg healthcheck: test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/healthz"] diff --git a/src/app/intro/intro-client.tsx b/src/app/intro/intro-client.tsx index d0f2062..5a049a2 100644 --- a/src/app/intro/intro-client.tsx +++ b/src/app/intro/intro-client.tsx @@ -246,10 +246,10 @@ export default function IntroClient() { /> )} -
+