12 lines
305 B
Python
12 lines
305 B
Python
|
|
"""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"
|