updated with save

This commit is contained in:
Ske087
2025-02-09 18:56:23 +02:00
parent 6b9c3e6847
commit aa2ba61be8

View File

@@ -13,6 +13,8 @@ services:
- SECRET_KEY=Ma_Duc_Dupa_Merele_Lui_Ana - SECRET_KEY=Ma_Duc_Dupa_Merele_Lui_Ana
volumes: volumes:
- .:/app - .:/app
- ./data/db:/app/instance - /home/ske087/digi-server/db:/app/instance
- ./data/static:/app/static/uploads - /home/ske087/digi-server/static:/app/static/uploads
command: sh -c "python clear_db.py && python init_db.py && gunicorn -w 4 -b 0.0.0.0:5000 app:app" # when setting allready exist and data are setted and is performed an update use second line of command
#command: sh -c "python clear_db.py && python init_db.py && gunicorn -w 4 -b 0.0.0.0:5000 app:app"
command: sh -c "python init_db.py && gunicorn -w 4 -b 0.0.0.0:5000 app:app"