Deploy metabase on Modal. Bring your data vis and analytics closer to your ML infra.
Warning
This deployment isn't tuned for production workloads. Use it as a proof of concept. You should provision a separate database like postgres for example and set environment variables appropriately to provision the database and make connections to store whatever data you need to. Metabase supports a wide range of datastores, making it a great choice for data vis that complements your data eng/ ML work running on Modal.
- Clone this repository
git clone https://github.com/anthonycorletti/modal-metabase.git && cd modal-metabase
- Install
uv
if you haven't already: https://docs.astral.sh/uv/getting-started/installation/ - Install dependencies and activate the virtual environment
bin/install source .venv/bin/activate
- Deploy!
bin/deploy-modal
- Visit the deployed app
https://YOUR_MODAL_PROFILE--modal-metabase-metabase.modal.run
and follow the instructions for setting up your metabase!