updated something

This commit is contained in:
Ske087
2025-02-15 21:27:28 +02:00
parent 18dfc14391
commit fe165305fc
8 changed files with 25 additions and 6 deletions

View File

@@ -2,6 +2,7 @@ version: '3.8'
services:
web:
image: digi-server:latest
ports:
- "7100:5000"
@@ -16,5 +17,5 @@ services:
- /home/ske087/digi-server/db:/app/instance
- /home/ske087/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"
#command: sh -c "python init_db.py && gunicorn -w 4 -b 0.0.0.0:5000 app:app"