49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
server:
|
|
config:
|
|
persistence:
|
|
defaultStore: default
|
|
visibilityStore: visibility
|
|
numHistoryShards: 512
|
|
datastores:
|
|
default:
|
|
sql:
|
|
createDatabase: false
|
|
manageSchema: true
|
|
pluginName: postgres12
|
|
driverName: postgres12
|
|
databaseName: temporal
|
|
connectAddr: "temporal-db-rw.temporal:5432"
|
|
connectProtocol: tcp
|
|
user: temporal
|
|
existingSecret: temporal-db-app
|
|
secretKey: password
|
|
maxConns: 20
|
|
maxIdleConns: 20
|
|
maxConnLifetime: "1h"
|
|
# TODO: migrate visibility to Elasticsearch for advanced visibility search.
|
|
visibility:
|
|
sql:
|
|
createDatabase: false
|
|
manageSchema: true
|
|
pluginName: postgres12
|
|
driverName: postgres12
|
|
databaseName: temporal_visibility
|
|
connectAddr: "temporal-db-rw.temporal:5432"
|
|
connectProtocol: tcp
|
|
user: temporal
|
|
existingSecret: temporal-db-app
|
|
secretKey: password
|
|
maxConns: 10
|
|
maxIdleConns: 10
|
|
maxConnLifetime: "1h"
|
|
metrics:
|
|
prometheus:
|
|
timerType: histogram
|
|
listenAddress: "0.0.0.0:9090"
|
|
|
|
web:
|
|
enabled: true
|
|
|
|
schema:
|
|
useHelmHooks: false
|