diff --git a/app/main.py b/app/main.py index 5ac1937..95ab25e 100644 --- a/app/main.py +++ b/app/main.py @@ -27,7 +27,7 @@ class DiskReorganizer: def __init__(self, db_config: Dict=None): if db_config is None: - db_config = {'host': os.getenv('DB_HOST', '192.168.1.159'), 'port': int(os.getenv('DB_PORT', 5432)), 'database': os.getenv('DB_NAME', 'disk_reorganizer_db'), 'user': os.getenv('DB_USER', 'auction'), 'password': os.getenv('DB_PASSWORD', 'heel-goed-wachtwoord')} + db_config = {'host': os.getenv('DB_HOST', '192.168.1.159'), 'port': int(os.getenv('DB_PORT', 5432)), 'database': os.getenv('DB_NAME', 'disk_reorganizer_db'), 'user': os.getenv('DB_USER', 'disk_reorg_user'), 'password': os.getenv('DB_PASSWORD', 'heel-goed-wachtwoord')} self.db_config = db_config self.init_database() diff --git a/defrag.iml b/defrag.iml new file mode 100644 index 0000000..ad3c0a3 --- /dev/null +++ b/defrag.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file