Production ready docker compose file to deploy self-hosted Metabase with SSL

Hello Metabase Community,

Here is a docker compose that I put together for production use (three months active use at this point):

Postgres (with encrypted connection information) is used for application data. Traefik sits in front of Metabase to provide SSL termination (and generates Let's Encrypt certificates).

Hopefully others in the community who are self-hosting might find this useful.

I'm also very keen to receive feedback or suggestions to improve/harden the configuration (either here or in the repository if there is an issue).

Cheers!

Thanks James! good work!

1 Like

Thank you to everyone at Metabase! I've posted a write up with our use case here: