Шаблон конфигурационного файла Glarus BI¶
Вы можете сгенерировать следующий шаблон конфигурационного файла config.yml, перейдя в каталог верхнего уровня Glarus BI и запустив:
# Шаблон конфигурационного файла для Glarus BI.
# Вам нужно будет обновить (или удалить) разделы `users` и `databases`.
# Настройки в `settings` включают значения по умолчанию. Мы рекомендуем удалять
# или комментировать параметры, которые вы не задаёте.
version: 1
config:
users:
- first_name: Имя
last_name: Фамилия
password: metabot1
email: first@example.com
- first_name: Обычный
last_name: Пользователь
password: metabot1
email: normal@example.com
- first_name: Админ
last_name: Пользователь
password: metabot1
is_superuser: true
email: admin@example.com
databases:
- name: Пример PostgreSQL
engine: postgres
details:
host: postgres-data
port: 5432
user: metabase
password: metasample123
dbname: sample
- name: Пример MySQL
engine: mysql
details:
host: mysql-data
port: 3306
user: metabase
password: metasample123
dbname: sample
api-keys:
- name: Admin API key
group: admin
creator: first@example.com
key: mb_firsttestapikey123
- name: All Users API key
group: all-users
creator: first@example.com
key: mb_secondtestapikey456
settings:
admin-email: null
aggregated-query-row-limit: null
allowed-iframe-hosts: |-
youtube.com,
youtu.be,
loom.com,
vimeo.com,
docs.google.com,
calendar.google.com,
airtable.com,
typeform.com,
canva.com,
codepen.io,
figma.com,
grafana.com,
miro.com,
excalidraw.com,
notion.com,
atlassian.com,
trello.com,
asana.com,
gist.github.com,
linkedin.com,
twitter.com,
x.com
anon-tracking-enabled: true
api-key: null
application-colors: {}
application-favicon-url: app/assets/img/favicon.ico
application-font: Lato
application-font-files: null
application-logo-url: app/assets/img/logo.svg
application-name: Glarus BI
attachment-row-limit: null
attachment-table-row-limit: 20
audit-max-retention-days: null
bcc-enabled: true
breakout-bin-width: 10.0
breakout-bins-num: 8
check-for-updates: true
config-from-file-sync-databases: true
custom-formatting: {}
custom-geojson: null
custom-geojson-enabled: true
custom-homepage: false
custom-homepage-dashboard: null
dashboards-save-last-used-parameters: true
db-connection-timeout-ms: 10000
db-query-timeout-minutes: 20
default-maps-enabled: true
disable-cors-on-localhost: false
download-row-limit: null
email-from-address: notifications@example.com
email-from-address-override: notifications@example.com
email-from-name: null
email-max-recipients-per-second: null
email-reply-to: null
email-smtp-host: null
email-smtp-host-override: null
email-smtp-password: null
email-smtp-password-override: null
email-smtp-port: null
email-smtp-port-override: null
email-smtp-security: none
email-smtp-security-override: ssl
email-smtp-username: null
email-smtp-username-override: null
embedding-app-origins-interactive: null
embedding-app-origins-sdk: ''
embedding-homepage: hidden
embedding-secret-key: null
enable-embedding-interactive: false
enable-embedding-sdk: false
enable-embedding-simple: false
enable-embedding-static: false
enable-password-login: true
enable-pivoted-exports: true
enable-public-sharing: true
enable-query-caching: true
enable-xrays: true
follow-up-email-sent: false
google-auth-auto-create-accounts-domain: null
google-auth-client-id: null
google-auth-enabled: null
gsheets: null
health-check-logging-enabled: true
help-link: metabase
help-link-custom-destination: https://glarus-bi.ru/docs
http-channel-host-strategy: external-only
humanization-strategy: simple
index-update-thread-count: 2
install-analytics-database: true
jdbc-data-warehouse-max-connection-pool-size: 15
jwt-attribute-email: email
jwt-attribute-firstname: first_name
jwt-attribute-groups: groups
jwt-attribute-lastname: last_name
jwt-enabled: false
jwt-group-mappings: {}
jwt-group-sync: false
jwt-identity-provider-uri: null
jwt-shared-secret: null
jwt-user-provisioning-enabled: true
landing-page: ''
landing-page-illustration: default
landing-page-illustration-custom: null
ldap-attribute-email: mail
ldap-attribute-firstname: givenName
ldap-attribute-lastname: sn
ldap-bind-dn: null
ldap-enabled: false
ldap-group-base: null
ldap-group-mappings: {}
ldap-group-membership-filter: (member={dn})
ldap-group-sync: false
ldap-host: null
ldap-password: null
ldap-port: 389
ldap-security: none
ldap-sync-user-attributes: true
ldap-sync-user-attributes-blacklist: userPassword,dn,distinguishedName
ldap-timeout-seconds: 15.0
ldap-user-base: null
ldap-user-filter: (&(objectClass=inetOrgPerson)(|(uid={login})(mail={login})))
ldap-user-provisioning-enabled: true
license-token-missing-banner-dismissal-timestamp: []
load-analytics-content: true
loading-message: doing-science
login-page-illustration: default
login-page-illustration-custom: null
map-tile-server-url: https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png