feat(archied): serve the State Store, event store and Gateway conversations from Postgres
The State Store's task and event-capture stores and the conversation store read by archied and served by archie-gateway now open on database_url. Every serving process refuses to start when legacy SQLite data exists and no import completion is recorded, naming archie-state-store import; a fresh install records completion itself. The Gateway holds its Postgres serve claim for its lifetime and releases it before the pool closes.
This commit is contained in:
18 files changed
+381
-177
No files matched your search
+4
-3
@@ -15,9 +15,10 @@
|
||||
# work_dir = "~/.local/share/archie/work" # default
|
||||
# db_path = "~/.local/share/archie/archie.db" # prefix for independent task and conversation SQLite files
|
||||
|
||||
# The standalone State Store's PostgreSQL connection. Required: the store
|
||||
# fails closed rather than fall back to SQLite, so leave this unset only if
|
||||
# you do not run archie-state-store. `docker compose up -d postgres` starts
|
||||
# The PostgreSQL connection archie-state-store, archied and archie-gateway
|
||||
# serve from. Required: each fails closed rather than fall back to SQLite.
|
||||
# An install with SQLite stores under db_path runs `archie-state-store import`
|
||||
# once, with archie stopped, before it starts. `docker compose up -d postgres` starts
|
||||
# a matching local postgres:18 with this default URL.
|
||||
# database_url = "postgres://archie:archie@127.0.0.1:5432/archie?sslmode=disable"
|
||||
|
||||
|
||||
Reference in new issue
Block a user