This repository has been archived by the owner on May 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
/
config.example.yml
56 lines (48 loc) · 1.7 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
47
48
49
50
51
52
53
54
---
component:
# Do not change this line. Everything will break.
type: owapi.app:APIComponent
# Is caching via redis enabled?
# This will speed up the API massively for subsequent requests, but data will be stale for 300 seconds.
# Set to False to disable.
use_redis: True
# Enable profiling?
# This is only recommended for developers.
do_profiling: False
# Disable ratelimiting?
# This prevents spam for public instances. Private instances should set this to True.
disable_ratelimits: False
# The time to cache results for.
# By default, this is 300.
# If `use_redis` is False, this statement has no effect.
# If this remains commented, the cache time used will be the default for functions.
#cache_time: 300
# Components listing. Do not edit.
components:
# The webapp component.
kyoukai:
# Do not change this line. Everything will break.
app: owapi.app:app
# Launch the app in debug mode? Recommended False for production servers.
debug: True
# The IP for Kyoukai to bind to.
ip: 127.0.0.1
# The port for Kyoukai to bind to.
port: 4444
# The redis component.
# This is ignored if `use_redis` is set to False.
redis:
connections:
redis:
# The address of your Redis server.
address: 127.0.0.1
# The port of your Redis server.
port: 6379
# The database to connect to on Redis.
db: 1
# The password for your Redis server.
# Do not uncomment if you do not have a password.
# password: hunter2
# Enable SSL for this redis connection?
# This must be enabled on the server side too.
ssl: False