Commit Graph

6 Commits

Author SHA1 Message Date
Ilya Mukhortov a55e65c53f Fill missing houses from a remote address-service by default.
Facility instances can proxy GET /houses to the central API by parent_fias_id and cache results locally, instead of calling DaData directly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:48:40 +10:00
Ilya Mukhortov 633becb075 Cache address search in Redis and invalidate after FIAS import.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 11:07:32 +10:00
Ilya Mukhortov 00a32f2a4c Serve UI, API, and admin under /address-service/.
Keep API at {prefix}api/ so Caddy can use a static URL_PREFIX, including /.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 20:56:48 +10:00
Ilya Mukhortov 978f33341b Require PostgreSQL and bootstrap the Docker image on startup.
Drop SQLite, import the address dump when AddressObject is empty, and publish linux/amd64 to the registry.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 12:52:52 +10:00
Ilya Mukhortov 144ebdcad6 Rebuild FIAS import around streamed GAR zip and reset schema migrations.
Patient search is subject → locality → street → house; municipal containers
are skipped, and KLADR/postal params load from the same archive without unpacking.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 16:12:14 +10:00
med-logic e356fb8e82 Manage container services with s6-overlay 2026-08-12 11:17:23 +10:00