image created

This commit is contained in:
2025-01-22 16:33:00 +02:00
parent 9f63572e5e
commit 4b8d075bfe
9 changed files with 115 additions and 3 deletions

16
docker-compose.yml Normal file
View File

@@ -0,0 +1,16 @@
version: '3.8'
services:
web:
image: digi_signage_server_app:latest
ports:
- "7100:5000"
environment:
- FLASK_APP=app.py
- FLASK_RUN_HOST=0.0.0.0
- ADMIN_USER=admin
- ADMIN_PASSWORD=Matei
- SECRET_KEY=Ma_Duc_Dupa_Merele_Lui_Ana
volumes:
- .:/app
command: sh -c "python clear_db.py && python init_db.py && gunicorn -w 4 -b 0.0.0.0:5000 app:app"