candle-annotator/services/ml/.env.example
Marko Djordjevic 76cb49e908 Migrate MLflow backend to PostgreSQL and fix .env loading
- Add python-dotenv loading in main.py so DATABASE_URL is read from .env
  before db.py module initializes
- Add MLFLOW_TRACKING_URI to .env.example pointing to PostgreSQL
- Add python-dotenv>=1.0.0 to pyproject.toml dependencies
- Initialize MLflow schema in candle_annotator PostgreSQL database

MLflow server now starts without filesystem deprecation warnings and
with full job execution support.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 21:34:31 +01:00

4 lines
226 B
Text

DATABASE_URL=postgresql://pg_user:pg_password@localhost:5432/candle_annotator
MLFLOW_TRACKING_URI=postgresql://pg_user:pg_password@localhost:5432/candle_annotator
# openssl rand -hex 32 add to main .env too
API_KEY=ML_API_KEY