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
uvif 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.runand follow the instructions for setting up your metabase!
