I have a panel server embedded in a Flask app which is run via gunicorn with multiple worker processes. This works well when served on a either a Linux or Mac OSX system on an intranet, and I verified that I can also make it available externally for quick testing purposes.
The panel server deployment documentation gives sufficient detail to deploy a panel server application to Heroku, but the next piece is when this needs to be run through / embedded in a web framework like Flask that is ultimately serving additional content, managing user access to certain routes, etc.
As such, the panel(bokeh) server needs to be called via
server_document() accessors as illustrated in the “official” bokeh Github repo example here: bokeh Flask gunicorn embed example.
Is there an example of such an implementation being successfully deployed to Heroku?