This commit is contained in:
2025-03-26 16:34:41 +02:00
parent 95478a04ba
commit 3ecdce84f0
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -17,5 +17,5 @@ services:
- /home/pi/Desktop/digi-server/db:/app/instance
- /home/pi/Desktop/digi-server/static:/app/static/uploads
# 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"
command: sh -c "python clear_db.py && python init_db.py && gunicorn -w 4 -b 0.0.0.0:5000 app:app"
#ommand: sh -c "python init_db.py && gunicorn -w 4 -b 0.0.0.0:5000 app:app"