feat: /api/v2/analiza/* endpoints - sport analytics backend
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv('/opt/rinet-gpu/.env.master')
|
||||
# auto-added by patch_scrapers_with_dotenv.sh
|
||||
"""
|
||||
audit_seal_router.py — HTTP surface for sys_audit log + Polygon PoS sealing
|
||||
Author: Damir Radulić (damir@rinet.one) / dradulic@outlook.com
|
||||
@@ -63,7 +66,7 @@ if _pgh in ('localhost', '127.0.0.1'):
|
||||
_DB = dict(host=_pgh, port=_pgp,
|
||||
dbname=os.environ.get('PG_DB', 'rinet_v3'),
|
||||
user=os.environ.get('PG_USER', 'rinet'),
|
||||
password=os.environ.get('PG_PASS', 'R1net2026!SecureDB#v7'))
|
||||
password=os.environ["DB_PASSWORD"])
|
||||
|
||||
def _conn():
|
||||
c = psycopg2.connect(**_DB); c.autocommit = True; return c
|
||||
|
||||
Reference in New Issue
Block a user