Adds accounting-service PATCH/archive, fiscal helpers, COA templates and setup status, plus SuperApp Accounting UI (DS, scoreboard, masters, vouchers, ledger, ops modules) with session refresh and HTTPS public API URLs. Co-authored-by: Cursor <cursoragent@cursor.com>
1.3 KiB
1.3 KiB
Production
Hosts
| Role | Address |
|---|---|
| Application (Docker) | 192.168.10.162 |
| Nginx edge | 192.168.10.156 |
Public Hostnames
| Host | Upstream |
|---|---|
torbatyar.ir / www / *.torbatyar.ir |
Frontend :3000 |
api.torbatyar.ir |
Core :8000 |
identity.torbatyar.ir |
Identity :8001 |
auth.torbatyar.ir |
Keycloak :8080 |
accounting.torbatyar.ir |
Accounting :8002 |
Environment
Copy from infrastructure/deploy/.env.production.example to the app host .env. Critical groups:
PLATFORM_*,NEXT_PUBLIC_*DATABASE_URL*,IDENTITY_DATABASE_URL*KEYCLOAK_*,AUTH_REQUIREDPAYAMAK_*,OTP_*,PLATFORM_ADMIN_MOBILESSSL_PROVISION_*
Never commit real production secrets.
Deploy Shape
- Pull release on app host
docker compose up -d --build- Run/verify Alembic per service (note: some production practices may
upgradethenstamp— document the exact chosen procedure in the release notes) - Reload Nginx config on edge if routing changed
- Smoke:
/health, login, tenant subdomain