blind-monkeys / wsgi.py
deanpowers's picture
Initial commit
5f20dc6
Raw History Blame Contribute Delete
268 Bytes
"""WSGI entry point for gunicorn on Cloud Run."""
import os
from local_app import app
from modules.journal import init_journal
init_journal()
if __name__ == "__main__":
port = int(os.environ.get("PORT", 8080))
app.run(host="0.0.0.0", port=port, debug=False)