-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-example.yml
46 lines (35 loc) · 1.5 KB
/
config-example.yml
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
# --------------------------------- #
# Kanae's Configuration file #
# --------------------------------- #
# This holds the configuration for Kanae. This file is not settable during runtime.
# If you wish to change the values, change and save, and restart your server
# Entries pertaining to Kanae are located here
kanae:
# Host that the server will use.
# Set to 0.0.0.0 if running in Docker
host: 127.0.0.1
# Port that the server binds to.
# Defaults to 8000
port: 8000
# Global ratelimit for Kanae
# Syntax is amount/minute. Ex: 1/minute
ratelimits:
- "10/second"
# Prometheus exporter for Kanae. The following keys are used in order to control
# the behavior of the Prometheus exporter
prometheus:
# Whether the Prometheus exporter is enabled or not
enabled: False
# The host that the Prometheus exporter will bind to. By default,
# it will always be set to 127.0.0.1
host: "127.0.0.1"
# The port used for the Prometheus exporter. By default,
# it will always be set to 9555
port: 9555
# The PostgreSQL connection URI that is used to connect to the database
# The URI must be valid, and components will need to be quoted.
# See https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING
postgres_uri: "postgresql://user:password@localhost:5432/user"
# The Redis connection URI that is used
# See https://github.com/redis/lettuce/wiki/Redis-URI-and-connection-details#uri-syntax for URI syntax
redis_uri: "redis://localhost:6379/0"