Spaces:
Runtime error
Runtime error
File size: 412 Bytes
768d678 |
1 2 3 4 5 6 7 8 |
# 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
|