Ausgaben-WebApp: Puppet-Modul (Flask + Gunicorn + SQLite, Docker Compose)

This commit is contained in:
2026-11-23 14:22:12 +01:00
commit dc47c8e6f8
28 changed files with 2454 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
"""WSGI-Einstiegspunkt für Gunicorn.
Hinweis: Gunicorn lädt diese Datei als Top-Level-Modul (``wsgi``), daher ist
hier ein *absoluter* Import nötig (``from app import ...``) und kein relativer.
"""
from app import create_app
app = create_app()
if __name__ == "__main__":
# Nur für lokale Entwicklung gedacht. In Produktion läuft Gunicorn.
app.run(host="0.0.0.0", port=8080, debug=False)