mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
Also changed the semantics of cluster info's HTTPAddress to just be the address, and not include the scheme. We now use the TLS configuration to derive the URL scheme.
139 lines
2.9 KiB
YAML
139 lines
2.9 KiB
YAML
log:
|
|
stdout: true
|
|
level: info
|
|
|
|
persistence:
|
|
defaultStore: sqlite-default
|
|
visibilityStore: sqlite-visibility
|
|
numHistoryShards: 1
|
|
datastores:
|
|
sqlite-default:
|
|
sql:
|
|
user: ""
|
|
password: ""
|
|
pluginName: "sqlite"
|
|
databaseName: "default"
|
|
connectAddr: "localhost"
|
|
connectProtocol: "tcp"
|
|
connectAttributes:
|
|
mode: "memory"
|
|
cache: "private"
|
|
maxConns: 1
|
|
maxIdleConns: 1
|
|
maxConnLifetime: "1h"
|
|
tls:
|
|
enabled: false
|
|
caFile: ""
|
|
certFile: ""
|
|
keyFile: ""
|
|
enableHostVerification: false
|
|
serverName: ""
|
|
|
|
sqlite-visibility:
|
|
sql:
|
|
user: ""
|
|
password: ""
|
|
pluginName: "sqlite"
|
|
databaseName: "default"
|
|
connectAddr: "localhost"
|
|
connectProtocol: "tcp"
|
|
connectAttributes:
|
|
mode: "memory"
|
|
cache: "private"
|
|
maxConns: 1
|
|
maxIdleConns: 1
|
|
maxConnLifetime: "1h"
|
|
tls:
|
|
enabled: false
|
|
caFile: ""
|
|
certFile: ""
|
|
keyFile: ""
|
|
enableHostVerification: false
|
|
serverName: ""
|
|
global:
|
|
membership:
|
|
maxJoinDuration: 30s
|
|
broadcastAddress: "127.0.0.1"
|
|
pprof:
|
|
port: 7936
|
|
metrics:
|
|
prometheus:
|
|
# # specify framework to use new approach for initializing metrics and/or use opentelemetry
|
|
# framework: "opentelemetry"
|
|
framework: "tally"
|
|
timerType: "histogram"
|
|
listenAddress: "127.0.0.1:8000"
|
|
|
|
services:
|
|
frontend:
|
|
rpc:
|
|
grpcPort: 7233
|
|
membershipPort: 6933
|
|
bindOnLocalHost: true
|
|
httpPort: 7243
|
|
|
|
matching:
|
|
rpc:
|
|
grpcPort: 7235
|
|
membershipPort: 6935
|
|
bindOnLocalHost: true
|
|
|
|
history:
|
|
rpc:
|
|
grpcPort: 7234
|
|
membershipPort: 6934
|
|
bindOnLocalHost: true
|
|
|
|
worker:
|
|
rpc:
|
|
grpcPort: 7239
|
|
membershipPort: 6939
|
|
bindOnLocalHost: true
|
|
|
|
clusterMetadata:
|
|
enableGlobalNamespace: false
|
|
failoverVersionIncrement: 10
|
|
masterClusterName: "active"
|
|
currentClusterName: "active"
|
|
clusterInformation:
|
|
active:
|
|
enabled: true
|
|
initialFailoverVersion: 1
|
|
rpcName: "frontend"
|
|
rpcAddress: "localhost:7233"
|
|
httpAddress: "localhost:7243"
|
|
|
|
dcRedirectionPolicy:
|
|
policy: "noop"
|
|
|
|
archival:
|
|
history:
|
|
state: "enabled"
|
|
enableRead: true
|
|
provider:
|
|
filestore:
|
|
fileMode: "0666"
|
|
dirMode: "0766"
|
|
gstorage:
|
|
credentialsPath: "/tmp/gcloud/keyfile.json"
|
|
visibility:
|
|
state: "enabled"
|
|
enableRead: true
|
|
provider:
|
|
filestore:
|
|
fileMode: "0666"
|
|
dirMode: "0766"
|
|
|
|
namespaceDefaults:
|
|
archival:
|
|
history:
|
|
state: "disabled"
|
|
URI: "file:///tmp/temporal_archival/development"
|
|
visibility:
|
|
state: "disabled"
|
|
URI: "file:///tmp/temporal_vis_archival/development"
|
|
|
|
dynamicConfigClient:
|
|
filepath: "config/dynamicconfig/development-sql.yaml"
|
|
pollInterval: "10s"
|