This repository has been archived by the owner on Jun 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathkoko.yaml
72 lines (67 loc) · 1.77 KB
/
koko.yaml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
log:
level: debug
format: console
database:
# Supported database dialects include:
# - mysql
# - postgres
# - sqlite3
dialect: sqlite3
query_timeout: 5s
mysql:
# Required fields to set primary DB settings.
hostname: localhost
db_name: koko
user: koko
password: koko
# Optional, otherwise defaults to 3306.
port: 3306
tls:
# In order to enable TLS negotiation, this must be enabled,
# otherwise, no TLS negotiation will be done.
#
# Defaults to false when not provided.
enable: true
# Enable in the event hostname verification needs to be skipped.
#
# Defaults to false when not provided.
skip_hostname_verification: false
# Optional root CA, certificate, and key settings.
#
# You may specify the `*_file` fields or provide the data in plain text.
#
# root_ca_file: /some/path/to/ca.pem
# certificate_file: /some/path/to/cert.pem
# key_file: /some/path/to/key.pem
root_ca: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
certificate: |
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
key: |
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
# Optional hostname to declare a single read-replica. Shares the
# same connectivity settings as the primary DB settings above.
read_replica:
hostname: another-hostname
sqlite:
#in_memory: true
filename: test.db
postgres:
hostname: localhost
port: 5432
db_name: koko
user: koko
password: koko
control_server:
tls_cert_path: cluster.crt
tls_key_path: cluster.key
metrics:
prometheus:
enable: false
disable_anonymous_reports: false