-
Notifications
You must be signed in to change notification settings - Fork 115
/
config.toml
114 lines (86 loc) · 2.06 KB
/
config.toml
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[mode]
# Debug mode enables additional logging, tracing and profiling
# to simplify developing and debugging of application.
#
# Default:
# debug = false
[server]
# URL address that this application is exposed externally with.
#
# Default:
# external_url = "http://127.0.0.1"
# Port that exposes HTTP interface for clients.
# This one must be reachable externally.
#
# Default:
# http_port = 8081
# Port that exposes gRPC interface for clients.
# This one must be reachable externally.
#
# Default:
# grpc_port = 8082
# Port that exposes HTTP healthcheck of application.
# This one must be reachable only inside Kubernetes Pod.
#
# Default:
# healthz_port = 10025
# Port that exposes metrics endpoint for Prometheus.
# This one must be reachable only inside Kubernetes cluster.
#
# Default:
# metrics_port = 9199
[db.mysql]
# Host of MySQL database server.
#
# Default:
# host = "127.0.0.1"
# Port that MySQL database server is listening connections on.
#
# Default:
# port = 3306
# Name of database to use on MySQL server.
#
# Default:
# dating = "default"
# MySQL database user to connect to MySQL server as.
#
# Default:
# user = "root"
# Password of MySQL database user to use for authentication on MySQL server.
#
# Default:
# pass = ""
[db.mysql.connections]
# Maximum allowed number of connections in the idle connections pool.
#
# Values greater than connections.max_open will be automatically reduced
# to match connections.max_open limit.
#
# Default:
# max_idle = 30
# Maximum allowed number of open connections to the MySQL database server
# at the same time.
#
# Default:
# max_open = 30
[log.app]
# Maximum allowed level of application log entries.
#
# Possible values (in ascending order):
# "error", "warn", "info", "debug", "trace"
#
# Default:
# level = "info"
[background.watchdog]
# Period to run watchdog background job with.
#
# Default:
# period = "5s"
# Maximum number of entries to finish per single job run.
#
# Default:
# limit = 10
# Timeout for holding watchdog lock on entries.
#
# Default:
# lock_timeout = "4s"