app-engine / Procfile
hkayabilisim's picture
Engine is embedded in a portal v0.0.1
768d678
raw
history blame contribute delete
412 Bytes
# heroku by default sets WEB_CONCURRENCY=2
# see: https://devcenter.heroku.com/changelog-items/618
# which uvicorn picks up, unless we explicitly set --workers --1
# see https://www.uvicorn.org/deployment/
# we do not support multiple workers yet
# we also need to bind to 0.0.0.0 otherwise heroku cannot route to our server
web: solara run tomorrowcities.pages --port=$PORT --no-open --host=0.0.0.0 --workers 1