Skip to content

acro5piano/metabase-playbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metabase Playbook

Ansible playbook for setup metabase.

Features

  • Metabase v0.40.1
  • Store Metabase data to PostgreSQL
  • Daemonize Metabase using Systemd
  • Use Ubuntu 20.04 as base image
  • Runs on port 80 by defualt which is useful for proxying
  • Installs Fail2ban for security

Setup

Step 0

Clone this repository.

Step 1

Launch Ubuntu 20.04 server on AWS EC2 or something.

If you use AWS, open port 80 to the public in SecurityGroup setting.

Step 2

Run Ansible.

ansible-playbook \
    -i 11.22.333.444, \
    --private-key /path/to/private/key \
    playbooks/main.yml

Note that:

  • Replace 11.22.333.444 with your instance's IP address.
    • , is needed after IP address. See this
  • Replace /path/to/private/key with your instance's private key.
  • PostgreSQL's password is postgres. You must not expose port of 5432.

Step 3

Open http://YOUR_IP_ADDRESS and play with metabase.

Go further

You might create a proxy to http://YOUR_IP_ADDRESS such as Cloudflare or CloudFront in order to improve security. Use whatever you want.

About

Ansible playbook for setup metabase

Resources

License

Stars

Watchers

Forks

Languages