docker updates

This commit is contained in:
msramalho
2023-02-24 17:09:32 +01:00
parent f6b116554f
commit f3d8c999fc
8 changed files with 1280 additions and 168 deletions

View File

@@ -80,7 +80,7 @@ def home():
@app.on_event("startup")
async def on_startup():
# # Not needed if you setup a migration system like Alembic
# await create_db_and_tables()
# await create_db_and_tables()https://github.com/bellingcat/auto-archiver/tree/dockerize
models.Base.metadata.create_all(bind=engine)
#### helper methods