-
Notifications
You must be signed in to change notification settings - Fork 134
/
.env.example
78 lines (57 loc) · 2.07 KB
/
.env.example
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
APP_HOST=0.0.0.0
APP_PORT=10000
# XXX: make sure this matches your domain
DOMAIN=example.com
# XXX: make sure these match your db credentials
DB_USER=cmyui
DB_PASS=lol123
DB_NAME=banchopy
DB_HOST=mysql
DB_PORT=3306
REDIS_USER=default
REDIS_PASS=
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_DB=0
# XXX: this is required for beatmaps
OSU_API_KEY=
# XXX: make sure this is a safe place for
# bancho.py to store all of it's data
DATA_DIRECTORY=/home/user/bancho.py/.data
# XXX: make sure these match your cert paths
SSL_CERT_PATH=/home/user/certs/fullchain.crt
SSL_KEY_PATH=/home/user/certs/private.key
# Chimu: https://api.chimu.moe/cheesegull/search - https://api.chimu.moe/v1/download
# osu.direct: https://osu.direct/api/search - https://osu.direct/d
MIRROR_SEARCH_ENDPOINT=https://catboy.best/api/search
MIRROR_DOWNLOAD_ENDPOINT=https://catboy.best/d
COMMAND_PREFIX=!
SEASONAL_BGS=https://i.cmyui.xyz/T74WiQG5wVyf.jpg,https://i.cmyui.xyz/nrMT4V2RR3PR.jpeg
MENU_ICON_URL=https://akatsuki.pw/static/images/logos/logo_ingame.png
MENU_ONCLICK_URL=https://akatsuki.pw
DATADOG_API_KEY=
DATADOG_APP_KEY=
DEBUG=False
# redirect beatmaps, beatmapsets, and forum
# pages of maps to the official osu! website
REDIRECT_OSU_URLS=True
PP_CACHED_ACCS=90,95,98,99,100
DISALLOWED_NAMES=mrekk,vaxei,btmc,cookiezi
DISALLOWED_PASSWORDS=password,abc123
DISALLOW_OLD_CLIENTS=True
DISALLOW_INGAME_REGISTRATION=True
DISCORD_AUDIT_LOG_WEBHOOK=
# automatically share information with the primary
# developer of bancho.py (https://github.com/cmyui)
# for debugging & development purposes.
AUTOMATICALLY_REPORT_PROBLEMS=False
LOG_WITH_COLORS=False
# XXX: Uncomment this if you have downloaded the database from maxmind.
# Change the path to the .mmdb file you downloaded, uncomment here and in docker-compose.yml
# You can download the database here: https://dev.maxmind.com/geoip/geolite2-free-geolocation-data
#MMD_DB_PATH=/home/user/misc/GeoLite2-City.mmdb
# advanced dev settings
## WARNING: only touch this once you've
## read through what it enables.
## you could put your server at risk.
DEVELOPER_MODE=False