refactor: move config.yaml to project root
This commit is contained in:
parent
ddf749f968
commit
47f4d97889
@ -21,7 +21,7 @@ ROOT = Path(__file__).parent.parent.parent
|
||||
|
||||
@timer
|
||||
def main() -> None:
|
||||
config = yaml.safe_load((Path(__file__).parent / "config.yaml").read_text())
|
||||
config = yaml.safe_load((ROOT / "config.yaml").read_text())
|
||||
config["storage"]["params"]["connection_string"] = os.environ["DB_CONNECTION_STRING"] # Credentials direkt aus .env
|
||||
|
||||
timeout = config["overpass"]["timeout"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user