title, date, draft, tags, categories, summary, author
| title |
date |
draft |
tags |
categories |
summary |
author |
| [bojemoi] refactor(borodino): standardize env var management across ak47/bm12/uzi |
2026-03-26T18:05:51+01:00 |
false |
|
|
Commit 9a69b23 par Betty dans bojemoi |
Betty |
Commit 9a69b23
|
|
| Repository |
bojemoi |
| Branch |
main |
| Author |
Betty |
| Hash |
9a69b23259505b2016fee26c42a285a4896d92a2 |
Description
- Stack: add PG_HOST/PORT/USER/PASSWORD/DBNAME to all 3 services;
add IP2LOC_DBNAME for ak47
- ak47: replace hardcoded user/password/dbname + ping-based IP
resolution with $PG_* env vars; use pg_isready with hostname directly
- bm12: PG_HOST was hardcoded "postgres" → os.getenv(); remove
hardcoded PG_PASSWORD default; add PG_PORT to psycopg2.connect()
- uzi: same as bm12; MODE_RUN was hardcoded 1 → os.getenv("MODE_RUN")
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Files Changed
Diff Summary