Skip to content

PythonicCafe/dokku-metabase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dokku-metabase

Deploy Metabase on a Dokku host.

First, execute on the server:

# Change the variable values:
APP_NAME="metabase"
APP_DOMAIN="metabase.example.com"
ADMIN_EMAIL="[email protected]"
PG_NAME="pg_${APP_NAME}"
JAVA_OPTS="-Xmx16g -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8"
# `-Xmx16g` means JVM will use up to 16GB of RAM

dokku apps:create $APP_NAME
dokku domains:add $APP_NAME $APP_DOMAIN
dokku config:set --no-restart $APP_NAME "JAVA_OPTS=$JAVA_OPTS"
dokku letsencrypt:set $APP_NAME email $ADMIN_EMAIL
dokku checks:disable metabase

dokku postgres:create $PG_NAME
dokku postgres:link $PG_NAME $APP_NAME

On your local machine:

git clone https://github.com/PythonicCafe/dokku-metabase.git
cd dokku-metabase
git remote add dokku dokku@<dokku-server>:<app-name>
git push dokku main

Finally, on the server:

dokku letsencrypt:enable metabase

To do

Configure plugins directory to avoid "WARN metabase.plugins :: Metabase cannot use the plugins directory /app/plugins".

About

Deploy Metabase on a Dokku host

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published