-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
59 lines (51 loc) · 1.07 KB
/
config.yaml.example
File metadata and controls
59 lines (51 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# pgControlPlane Configuration Example
server:
http_port: 8080
grpc_port: 9090
ws_port: 8081
read_timeout: 30s
write_timeout: 30s
database:
url: postgres://pgcp:secret@localhost:5432/pgcontrolplane
max_connections: 100
max_idle_connections: 10
connection_timeout: 10s
migrations_path: ./migrations
security:
jwt:
secret: your-secret-key-change-this
expiry: 24h
tls:
enabled: false
cert_file: /etc/pgcp/tls/cert.pem
key_file: /etc/pgcp/tls/key.pem
ca_file: /etc/pgcp/tls/ca.pem
rbac:
enabled: false
reconciler:
interval: 30s
promotion_timeout: 30s
safe_promote: true
max_concurrent_reconciles: 5
replication_lag_threshold_ms: 10000
agents:
ttl: 5m
prune_interval: 1m
command_timeout: 2m
max_retries: 3
observability:
logging:
level: info
format: json
metrics:
enabled: true
port: 2112
tracing:
enabled: false
endpoint: http://jaeger:14268/api/traces
sample_rate: 0.1
features:
auto_failover: true
auto_healing: true
config_drift_detection: true
backup_orchestration: true