dev-client is VeriPath's internal development/test tenant — "Dev Client
(pgvector test tenant)" — used for developing/testing the pgvector/embedding
features on a tenant-scoped database. It is not a real SIAAS client: no
client data, no backup pipeline (by policy). It runs on the primary VPS
(VPS1), which is why it was mothballed — development work does not belong on
the production orchestrator.
| Component | Detail |
|---|---|
| Tenant | tenancy_tenant id 5, subdomain dev-client, sector CLIENT |
| Database | test_client_dental_dev on container client_db_dental_dev (image git.veripath.co.uk/infra/client-postgres:v1.2.0, postgres -p 5437) |
| App endpoint | 172.18.0.1:5437 via tenant-gateway@5437.service (socat → 127.0.0.1:5437) |
| Monitoring creds | /root/client-credentials-dev-client.json (kept for revival) |
| Monitoring crons | /etc/cron.d/tunnel-health, /etc/cron.d/capacity-monitoring (dev-client lines commented) |
| Monitoring data | ~485 capacity + ~485 tunnel-health rows preserved in central dsp_clinic (audit trail; no longer written) |
dev-client lines in /etc/cron.d/tunnel-health and/etc/cron.d/capacity-monitoring are commented out (# MOTHBALLED 2026-08-16).tenancy_tenant id 5 has is_active=false and config.status = "mothballed" (the host scripts also only resolve is_active = true tenants,client_db_dental_dev stopped with --restart=no (volumeclient_db_dental_dev → /var/lib/postgresql/data preserved).tenant-gateway@5437.service disabled (unit file retained).# 1. App-level tenant back on
docker exec gp_booking_postgres psql -U postgres -d dsp_clinic -c \
"UPDATE tenancy_tenant SET is_active=true WHERE id=5;"
# 2. DB container back up (retains until next reboot unless you set unless-stopped)
docker update --restart=unless-stopped client_db_dental_dev
docker start client_db_dental_dev
# 3. Endpoint back up
systemctl enable --now tenant-gateway@5437.service
# 4. Monitoring back on — in /etc/cron.d/tunnel-health and
# /etc/cron.d/capacity-monitoring, uncomment the "# MOTHBALLED ... dev-client"
# lines (remove the leading "# MOTHBALLED 2026-08-16 (dev-client) — " prefix).
# 5. Verify the DB is reachable at 172.18.0.1:5437
# (the app routes subdomain dev-client → test_client_dental_dev)
tenancy_tenant id 5infrastructure_clientcapacitysnapshot /infrastructure_clienttunnelhealth rows), remove the client_db_dental_devtenant-gateway@5437, and delete/root/client-credentials-dev-client.json.dsp_clinic_dev on client_vps_postgres, DSP_ENV=dev).