app.py aktualisiert
This commit is contained in:
1
app.py
1
app.py
@@ -9,6 +9,7 @@ DB_CFG = {
|
|||||||
"user": os.getenv("DBUSER", "monitor_user"),
|
"user": os.getenv("DBUSER", "monitor_user"),
|
||||||
"password": os.getenv("DBPASS", "monitor_pass"),
|
"password": os.getenv("DBPASS", "monitor_pass"),
|
||||||
"database": os.getenv("DBNAME", "webmonitor"),
|
"database": os.getenv("DBNAME", "webmonitor"),
|
||||||
|
"port": int(os.getenv("DBPORT", "3306")),
|
||||||
}
|
}
|
||||||
|
|
||||||
def init_db():
|
def init_db():
|
||||||
|
|||||||
Reference in New Issue
Block a user