mirror of
https://github.com/hanzoai/tasks.git
synced 2026-11-03 03:56:04 +00:00
- GitHub Actions: parallel amd64 + arm64 on self-hosted runners (lqd-build-amd64/arm64), multi-arch manifest, push to GAR - Dockerfile: CGO-enabled Go build with sqlite support - embedded-sqlite.yaml: file-based WAL persistence at /data/ - Build tags on test utility files to fix production builds - Removed luxfi/zap local replace, using published v0.2.1
86 lines
1.7 KiB
YAML
86 lines
1.7 KiB
YAML
log:
|
|
stdout: true
|
|
level: info
|
|
|
|
persistence:
|
|
defaultStore: sqlite-default
|
|
visibilityStore: sqlite-visibility
|
|
numHistoryShards: 1
|
|
datastores:
|
|
sqlite-default:
|
|
sql:
|
|
pluginName: "sqlite"
|
|
databaseName: "/data/tasks.db"
|
|
connectAttributes:
|
|
mode: "rwc"
|
|
cache: "shared"
|
|
_journal_mode: "WAL"
|
|
_busy_timeout: "5000"
|
|
maxConns: 1
|
|
maxIdleConns: 1
|
|
maxConnLifetime: "1h"
|
|
|
|
sqlite-visibility:
|
|
sql:
|
|
pluginName: "sqlite"
|
|
databaseName: "/data/tasks_visibility.db"
|
|
connectAttributes:
|
|
mode: "rwc"
|
|
cache: "shared"
|
|
_journal_mode: "WAL"
|
|
_busy_timeout: "5000"
|
|
maxConns: 1
|
|
maxIdleConns: 1
|
|
maxConnLifetime: "1h"
|
|
|
|
global:
|
|
membership:
|
|
maxJoinDuration: 30s
|
|
broadcastAddress: "0.0.0.0"
|
|
|
|
services:
|
|
frontend:
|
|
rpc:
|
|
grpcPort: 7233
|
|
membershipPort: 6933
|
|
bindOnIP: "0.0.0.0"
|
|
httpPort: 7243
|
|
|
|
matching:
|
|
rpc:
|
|
grpcPort: 7235
|
|
membershipPort: 6935
|
|
bindOnIP: "0.0.0.0"
|
|
|
|
history:
|
|
rpc:
|
|
grpcPort: 7234
|
|
membershipPort: 6934
|
|
bindOnIP: "0.0.0.0"
|
|
|
|
worker:
|
|
rpc:
|
|
grpcPort: 7239
|
|
membershipPort: 6939
|
|
bindOnIP: "0.0.0.0"
|
|
|
|
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"
|
|
|
|
dynamicConfigClient:
|
|
filepath: "config/dynamicconfig/development-sql.yaml"
|
|
pollInterval: "60s"
|