48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
|
|
# config file version
|
||
|
|
apiVersion: 1
|
||
|
|
|
||
|
|
# list of datasources that should be deleted from the database
|
||
|
|
#deleteDatasources:
|
||
|
|
# - name: PostgreSQL
|
||
|
|
# orgId: 1
|
||
|
|
|
||
|
|
# list of datasources to insert/update depending
|
||
|
|
# whats available in the database
|
||
|
|
datasources:
|
||
|
|
# <string, required> name of the datasource. Required
|
||
|
|
- name: PostgreSQL
|
||
|
|
uid: obmp_postgres
|
||
|
|
# <string, required> datasource type. Required
|
||
|
|
type: postgres
|
||
|
|
# <string, required> access mode. direct or proxy. Required
|
||
|
|
access: direct
|
||
|
|
# <int> org id. will default to orgId 1 if not specified
|
||
|
|
orgId: 1
|
||
|
|
# <string> url
|
||
|
|
url: obmp-psql:5432
|
||
|
|
# <string> database user, if used
|
||
|
|
user: openbmp
|
||
|
|
# <string> database name, if used
|
||
|
|
database: openbmp
|
||
|
|
# <bool> mark as default datasource. Max one per org
|
||
|
|
isDefault: true
|
||
|
|
|
||
|
|
secureJsonData:
|
||
|
|
password: openbmp
|
||
|
|
|
||
|
|
# <map> fields that will be converted to json and stored in json_data
|
||
|
|
jsonData:
|
||
|
|
tlsAuth: false
|
||
|
|
tlsAuthWithCACert: false
|
||
|
|
postgresVersion: 1200
|
||
|
|
sslmode: "require"
|
||
|
|
timescaledb: true
|
||
|
|
maxOpenConns: 6
|
||
|
|
maxIdleConns: 1
|
||
|
|
connMaxLifetime: 3600
|
||
|
|
|
||
|
|
# <string> json object of data that will be encrypted.
|
||
|
|
#secureJsonData:
|
||
|
|
version: 1
|
||
|
|
# <bool> allow users to edit datasources from the UI.
|
||
|
|
editable: true
|