Repository URL to install this package:
|
Version:
1.0.0b1 ▾
|
doc:
short_help: Install a standalone metabase service.
help: |
Install a Postgresql database service on the host and create a database. Then install Metabase, and configure it to use said database.
In case no 'metabase_db_password' is specified, freckles will generate a random one.
TODO: reverse proxy
args:
metabase_db_password:
doc:
short_help: The password for the db connection.
default: '::random_password::'
type: string
required: false
frecklets:
- postgresql-database-exists:
db_name: metabase
db_user: metabase
db_user_password: "{{:: metabase_db_password | postgresql_password_hash('metabase') ::}}"
postgresql_listen_addresses:
# - "{{:: metabase_host ::}}"
- 127.0.0.1
- 10.0.0.22
postgresql_pg_hba:
- method: md5
- metabase-service:
metabase_db_type: postgres
metabase_db_name: metabase
metabase_db_user: metabase
metabase_db_password: '{{:: metabase_db_password ::}}'
metabase_db_host: localhost
metabase_db_port: 5432
metabase_host: '{{:: metabase_host ::}}'
metabase_port: '{{:: metabase_port ::}}'
meta: {}