This repository demonstrates how to run Mesop apps inside ShinyProxy.
In order to run your Mesop app inside ShinyProxy, it should be packaged as a Docker image.
We use a gunicorn WSGI server to run the Mesop app inside the Docker container as by default, mesop runs a flask dev server that is not suitable for production use.
We provide an example Dockerfile that demonstrates how to build the Docker image for a very simple Mesop app.
To build the Docker image, run the following command:
docker build -t openanalytics/shinyproxy-mesop-demo .
Create a ShinyProxy configuration file (see application.yml for a full example), containing:
proxy:
specs:
- id: mesop
display-name: Mesop
container-image: openanalytics/shinyproxy-mesop-demo
port: 8888
target-path: "#{proxy.getRuntimeValue('SHINYPROXY_PUBLIC_PATH')}"
container-env:
MESOP_BASE_URL_PATH: "#{proxy.getRuntimeValue('SHINYPROXY_PUBLIC_PATH')}"(c) Copyright Open Analytics NV, 2026.
