Centralize DB settings in ingestion config, remove embedded secrets from ingestion helpers, and add an idempotent PostgreSQL bootstrap script to create role/database and apply schema safely. Made-with: Cursor
15 lines
392 B
Plaintext
15 lines
392 B
Plaintext
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_NAME=options_db
|
|
DB_USER=quant_user
|
|
DB_PASSWORD=change_me
|
|
PIPELINE_SYMBOLS=SPY
|
|
|
|
# For scripts/setup_postgres.py when creating role/database:
|
|
# Use a superuser/admin account that can CREATE ROLE and CREATE DATABASE.
|
|
POSTGRES_ADMIN_USER=postgres
|
|
POSTGRES_ADMIN_PASSWORD=postgres
|
|
POSTGRES_ADMIN_HOST=localhost
|
|
POSTGRES_ADMIN_PORT=5432
|
|
POSTGRES_ADMIN_DB=postgres
|