-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.template.yml
72 lines (64 loc) · 1.46 KB
/
config.template.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
DEPENDENCIES: {}
DISABLED_COGS: []
# ======= TOKENS =========
TOKENS:
PRODUCTION: null
DEVELOPMENT: null
# ======= API/SERVER CONNECTIONS =========
API_URL: "http://api:8000/v1" # Ensure that the port is the same port defined by MOCBOT API's .env
API_KEY: null
SOCKET:
HOST: 0.0.0.0
PORT: 65535
KEY: null
LAVALINK:
HOST: "lavalink"
PORT: 2333
PASS: null
SPOTIFY:
CLIENT_ID: null
CLIENT_SECRET: null
# ======= LOGGING =========
LOGGING:
{
"version": 1,
"formatters":
{
"standard":
{
"format": "%(asctime)s %(levelname)-6s %(name)-15s %(message)s",
"datefmt": "%Y-%m-%d %H:%M:%S",
},
"ColouredFormatter":
{ "()": "utils.ColouredFormatter.ColouredFormatter" },
},
"handlers":
{
"file":
{
"class": "logging.handlers.RotatingFileHandler",
"formatter": "standard",
"level": "DEBUG",
"filename": "logs/latest.log",
"mode": "w",
"maxBytes": 100000,
"backupCount": 5,
},
"stdout":
{
"class": "logging.StreamHandler",
"formatter": "ColouredFormatter",
"level": "INFO",
"stream": "ext://sys.stdout",
},
},
"loggers":
{
"":
{
"level": "DEBUG",
"handlers": ["file", "stdout"],
"propagate": False,
},
},
}