feat(standalone): support Postgres via DB_ENGINE env var

Lets a standalone install point at an existing Postgres database
(e.g. for testing against real data on a verification host) instead
of always writing to local SQLite. Defaults to SQLite when DB_ENGINE
is unset, so existing self-hosters see no behavior change.
This commit is contained in:
RNL
2026-08-28 23:20:29 +10:00
parent 888ce452e4
commit fb1c3fb834
2 changed files with 22 additions and 6 deletions

View File

@@ -40,6 +40,9 @@ standalone = [
"python-dotenv",
"whitenoise",
]
postgres = [
"psycopg2-binary",
]
mcp = [
"mcp-gate @ git+https://github.com/RunLit/mcp-gate.git@v0.1.0",
"uvicorn",