Files
school_compare/integrator/scripts/config.py

12 lines
305 B
Python
Raw Normal View History

"""Configuration for the data integrator."""
import os
from pathlib import Path
DATABASE_URL = os.environ.get(
"DATABASE_URL",
"postgresql://schoolcompare:schoolcompare@db:5432/schoolcompare",
)
DATA_DIR = Path(os.environ.get("DATA_DIR", "/data"))
SUPPLEMENTARY_DIR = DATA_DIR / "supplementary"