Sign inSign up

bobblybook/metabase

By bobblybook

Updated about 1 year ago
Archived

Generic ARM64 version of metabase, built originally for my raspberry pi (4).

Image
12

50K+

bobblybook/metabase repository overview

READ-ONLY AS OF 01/09/2025, NO LONGER UPDATED. Metabase now offers their main image in an ARM variant, I am winding down this build script as it's now served it's purpose.


ARM64 build of metabase image from https://hub.docker.com/r/metabase/metabase/. Primarily for my own use for crowdsec dashboard on my raspberry pi, though it's a generic image and should work for other uses as well.

Automated build script to push new versions as they are uploaded to metabase, and versioning matches the metabase version is was built from.

If using for crowdsec, this is all you need to get up and running:

  1. Add a dashboard or metabase service to the crowdsec stack using this image
  2. Download the template crowdsec dashboard from https://crowdsec-statics-assets.s3-eu-west-1.amazonaws.com/metabase_sqlite.zip Link is from official crowdsec page: https://docs.crowdsec.net/blog/metabase_without_docker/ Even though it says "without docker", this is still a useful page for resources. We only need the sqlite db as it contains the dashboard templates and config.
  3. Unzip and mount the metabase.db.mv.db file to /app/metabase.db.mv.db in the container.
  4. Change owner to UID and GID 1000 (metabase): sudo chown 1000:1000 metabase.db.mv.db
  5. Mount your crowdsec database to /metabase-data/crowdsec.db in the container
  6. IMPORTANT! Change owner and permissions on crowdsec.db so that it's readable by metabase. Leave owner as root, change group to '1000', which will match metabase's GID. sudo chown root:1000 crowdsec.db
  7. (Optional) Also reduce file permissions to 640 to prevent metabase from writing to the db. It should never perform writes anyway, but this is an extra level of safety. sudo chmod 640 crowdsec.db

Start it up and login to http://container:3000. Default credentials are listed on the crowdsec page listed above. Advisable to change the pw on first login obviously.

Username: [email protected] Password: !!Cr0wdS3c_M3t4b4s3??

Example docker-compose.yml for crowdsec stack: https://github.com/Bobblybook/crowdsec/blob/main/docker-compose.yml

Tag summary

Content type

Image

Digest

sha256:dd87bab19

Size

597.6 MB

Last updated

about 1 year ago

docker pull bobblybook/metabase