Rename public discovery app from "finder" to "koja"
Rebrand the public café-discovery app: directories web/finder→web/koja and docker/finder→docker/koja, plus all service wiring (docker-compose, Caddy subdomain koja.meezi.ir, env vars KOJA_PORT / NEXT_PUBLIC_KOJA_URL, CI workflows) and the app's display name (Koja / کجا). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -13,7 +13,7 @@ Server: 171.22.25.73
|
||||
├── meezi-web :3101 ← Next.js cafe owner dashboard
|
||||
├── meezi-admin-web:3102 ← Next.js super-admin panel
|
||||
├── meezi-website :3010 ← Next.js marketing website
|
||||
├── meezi-finder :3103 ← Next.js public finder
|
||||
├── meezi-koja :3103 ← Next.js public discovery (Koja)
|
||||
├── meezi-db :5434 ← PostgreSQL (not internet-facing)
|
||||
└── meezi-redis :6381 ← Redis (not internet-facing)
|
||||
```
|
||||
@@ -21,7 +21,7 @@ Server: 171.22.25.73
|
||||
Docker Compose files:
|
||||
|
||||
```
|
||||
docker-compose.yml main services (postgres, redis, api, web, website, finder)
|
||||
docker-compose.yml main services (postgres, redis, api, web, website, koja)
|
||||
docker-compose.admin.yml admin overlay (+admin-api, +admin-web)
|
||||
docker-compose.mirror.yml Nexus mirror — run once separately, stays running
|
||||
docker-compose.caddy.yml Caddy HTTPS proxy — add when domain is ready
|
||||
@@ -60,7 +60,7 @@ RUN_MIGRATIONS=true
|
||||
NEXT_PUBLIC_API_URL=http://171.22.25.73:5080
|
||||
NEXT_PUBLIC_ADMIN_API_URL=http://171.22.25.73:5081
|
||||
NEXT_PUBLIC_SITE_URL=http://171.22.25.73:3010
|
||||
NEXT_PUBLIC_FINDER_URL=http://171.22.25.73:3103
|
||||
NEXT_PUBLIC_KOJA_URL=http://171.22.25.73:3103
|
||||
|
||||
APP_QR_BASE_URL=http://171.22.25.73:3101
|
||||
BILLING_DASHBOARD_URL=http://171.22.25.73:3101
|
||||
@@ -77,7 +77,7 @@ ADMIN_API_PORT=5081
|
||||
WEB_PORT=3101
|
||||
ADMIN_WEB_PORT=3102
|
||||
WEBSITE_PORT=3010
|
||||
FINDER_PORT=3103
|
||||
KOJA_PORT=3103
|
||||
POSTGRES_PORT=5434
|
||||
REDIS_PORT=6381
|
||||
|
||||
@@ -123,7 +123,7 @@ CI takes ~5–10 minutes: builds 6 Docker images, runs all checks, then deploys.
|
||||
|---|---|
|
||||
| Marketing website | http://171.22.25.73:3010/fa |
|
||||
| Cafe owner dashboard | http://171.22.25.73:3101/fa/login |
|
||||
| Public finder | http://171.22.25.73:3103/fa |
|
||||
| Public Koja | http://171.22.25.73:3103/fa |
|
||||
| Super-admin panel | http://171.22.25.73:3102/fa/admin/login |
|
||||
| Main API (Swagger) | http://171.22.25.73:5080/swagger |
|
||||
| Admin API (Swagger) | http://171.22.25.73:5081/swagger |
|
||||
@@ -173,7 +173,7 @@ Create these A records — all pointing to `171.22.25.73`:
|
||||
| `meezi.ir` | Marketing website |
|
||||
| `app.meezi.ir` | Cafe dashboard |
|
||||
| `api.meezi.ir` | Main API |
|
||||
| `finder.meezi.ir` | Finder |
|
||||
| `koja.meezi.ir` | Koja |
|
||||
| `admin.meezi.ir` | Admin panel |
|
||||
| `admin-api.meezi.ir` | Admin API |
|
||||
|
||||
@@ -189,14 +189,14 @@ ACME_EMAIL=you@example.com
|
||||
NEXT_PUBLIC_API_URL=https://api.meezi.ir
|
||||
NEXT_PUBLIC_ADMIN_API_URL=https://admin-api.meezi.ir
|
||||
NEXT_PUBLIC_SITE_URL=https://meezi.ir
|
||||
NEXT_PUBLIC_FINDER_URL=https://finder.meezi.ir
|
||||
NEXT_PUBLIC_KOJA_URL=https://koja.meezi.ir
|
||||
|
||||
APP_QR_BASE_URL=https://app.meezi.ir
|
||||
BILLING_DASHBOARD_URL=https://app.meezi.ir
|
||||
|
||||
CORS_ORIGIN_0=https://app.meezi.ir
|
||||
CORS_ORIGIN_1=https://meezi.ir
|
||||
CORS_ORIGIN_2=https://finder.meezi.ir
|
||||
CORS_ORIGIN_2=https://koja.meezi.ir
|
||||
CORS_ADMIN_ORIGIN_0=https://admin.meezi.ir
|
||||
|
||||
# Remove all PORT= lines — Caddy is the only public endpoint
|
||||
|
||||
Reference in New Issue
Block a user