![]() I create these tutorials for myself in the future. You may ask me why I do all these tutorials? Well, since I was banned from Instagram I need someplace to publish my selfies. Now just open YOURDOMAIN.COM in the browser and finish Metabase setup □ If you want to attach a domain and use HTTPS from letsencrypt: dokku domains:set metabase Let's tell Dokku to use it for its internal Nginx routing: dokku proxy:ports-set metabase http:80:3000Īnd finally, deploy Metabase from the official docker image: dokku git:from-image metabase metabase/metabase:latest Take POSTGRES_URL from the output above and insert it to the command below: dokku config:set metabase MB_DB_TYPE=postgres MB_DB_CONNECTION_URI= Now let's link Postgres the way Metabase will understand. ![]() Create & link Postgres DB to the Dokku app: dokku postgres:create metabase Since Metabase has its Docker image with the latest version which supports environment variables, all we need is to create a Dokku app from Docker image with all proper configs: dokku apps:create metabaseįor production deployment, you need to switch from the default database to Postgres. This will drastically improve the onboarding of new users.- Dan Okhlopkov □ August 16, 2021 Install MetabaseĪll cool open-source projects must have a prebuilt docker image and environment variables support. The latest Dokku installation one-liner can be found on their official website but I'd suggest reading my blog post where I cover more details. Id' suggest having at least 2CPU and 2Gb RAM on your server. I use Digital Ocean droplets (this is my referral link with a $100 deposit for new users). Imagine that you have already rent a server for your project. ![]() How to deploy Metabase (open-source BI tool) to production using Dokku PaaS (open-source Heroku alternative).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |