{"id":17352810,"url":"https://github.com/sumukh/dokku-metabase","last_synced_at":"2025-04-13T23:05:21.814Z","repository":{"id":141316031,"uuid":"89101938","full_name":"Sumukh/dokku-metabase","owner":"Sumukh","description":"Run metabase on Dokku (A self hosted Heroku clone)","archived":false,"fork":false,"pushed_at":"2017-09-07T17:37:55.000Z","size":3,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T17:24:46.835Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sumukh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-22T22:06:50.000Z","updated_at":"2024-04-27T13:07:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f2d12f1-ee98-4b10-a2f9-488b92186ad3","html_url":"https://github.com/Sumukh/dokku-metabase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumukh%2Fdokku-metabase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumukh%2Fdokku-metabase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumukh%2Fdokku-metabase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumukh%2Fdokku-metabase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sumukh","download_url":"https://codeload.github.com/Sumukh/dokku-metabase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245850360,"owners_count":20682647,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T17:14:45.063Z","updated_at":"2025-03-27T13:13:57.043Z","avatar_url":"https://github.com/Sumukh.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Metabase Setup\n\n\nPrerequisites:\n- Install Dokku on your server\n- It's helpful to setup an alias to make running commands on dokku from your own computer\n\n`$ alias dokku='ssh -t dokku@your-ip'`\n\n\n## Download Metabase jar\n\nGet the most recent JAR file from: http://www.metabase.com/start/jar.html\n\n\t$ git add metabase.jar\n\t$ git commit -am 'Add v... of metabase'\n\n## Create application on dokku\n```\ndokku apps:create metabase\n\n# Link Databases\n\n# install postgres if it's not available yet\ndokku plugin:install https://github.com/dokku/dokku-postgres.git postgres\n\n# Metabase DB\ndokku postgres:create metabase\ndokku postgres:link metabase metabase\n\n# Take the DATABASE URL from above and run\ndokku config:set metabase MB_DB_CONNECTION_URI=\u003curl from earlier\u003e MB_JETTY_PORT=5000 MB_DB_TYPE=postgres BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-jvm-common.git\n\n# Link any interesting database from other dokku containers\ndokku mysql:link your-other-dokku-app metabase\n# Note the urls and add them to the metabase dashboard.\n```\n\n# Deploy\n```\n$ git remote add dokku dokku@your-dokku-host.com:metabase\n$ git commit -am 'deploy'\n$ git push dokku master\n```\n\n# Updating Metabase\n\n- Download the new jar from Metabase and replace the old jar.\n\n```\n$ git add metabase.jar\n$ git commit -m 'Upgrade to v...'\n$ git push dokku master\n```\n\nYou may have to wait a few moments for migrations to run. To check on the progress run the following commnad\n\n\t$ dokku logs metabase\n\n# Source\nhttps://medium.com/@sndyrgrs/how-to-run-metabase-on-dokku-dffdfe1ef442#.hby06m5lm\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumukh%2Fdokku-metabase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumukh%2Fdokku-metabase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumukh%2Fdokku-metabase/lists"}