fix(release): bind external postgres identity mapping file

This commit is contained in:
2026-10-14 04:28:58 +08:00
parent 5ff88047ff
commit f39a051d9f
2 changed files with 13 additions and 0 deletions
+1
View File
@@ -220,6 +220,7 @@ def render(release: str, batch: str) -> dict[str, bytes]:
"\n".join(
[
"data_directory = '/var/lib/kf-onlinejudge/postgres/data'",
"ident_file = '/var/lib/kf-onlinejudge/postgres/data/pg_ident.conf'",
f"hba_file = '{base}/pg_hba.conf'",
"listen_addresses = '127.0.0.1'",
"port = 5432",