forked from ppy/osu-web
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.example
325 lines (253 loc) · 8.19 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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
# API_THROTTLE_GLOBAL=1200,1,api
# API_THROTTLE_SCORES_DOWNLOAD=10,1,api-scores-download
# default url for vagrant
APP_URL=http://localhost:8080
APP_ENV=local
APP_DEBUG=true
APP_KEY=
APP_LOG_LEVEL=debug
# APP_SENTRY=https://...
# APP_SENTRY_ENVIRONMENT=
# DOCS_URL=
# clockwork provides local development insights (at /__clockwork/)
# adds a slight performance overhead.
CLOCKWORK_ENABLE=true
DB_HOST=localhost
DB_DATABASE=osu
DB_USERNAME=osuweb
# DB_PASSWORD=
# REDIS_HOST=127.0.0.1
# REDIS_PORT=6379
# REDIS_DB=0
# REDIS_PASSWORD=
# CACHE_REDIS_HOST=127.0.0.1
# CACHE_REDIS_PORT=6379
# CACHE_REDIS_DB=0
# CACHE_REDIS_PASSWORD=
# MEMCACHED_PERSISTENT_ID=
# MEMCACHED_USERNAME=
# MEMCACHED_PASSWORD=
# MEMCACHED_HOST=127.0.0.1
# MEMCACHED_PORT=11211
OSU_API_KEY=
# BROADCAST_DRIVER=redis
# CACHE_DRIVER=redis
# SESSION_DRIVER=redis
# SESSION_DOMAIN=
# SESSION_SECURE_COOKIE=false
# SESSION_PREFIX=
# MAIL_DRIVER=log
# MAIL_HOST=
# MAIL_PORT=
# MAIL_ENCRYPTION=
# MAIL_USERNAME=
# MAIL_PASSWORD=
SLACK_ENDPOINT=https://myconan.net/null/
# SHARED_INTEROP_SECRET=
# STORE_NOTICE=
# FILESYSTEM_DISK=local
# BM_PROCESSOR_MIRRORS=1
# BM_PROCESSOR_THUMBNAILER=http://localhost:4001
# BM_PROCESSOR_SENTRY=
# S3_KEY=
# S3_SECRET=
# S3_REGION=
# S3_BUCKET=
# S3_BASE_URL=
# S3_MINI_URL=
# S3_ENDPOINT=
# S3_USE_PATH_STYLE_ENDPOINT=false
# S3_SOLO_REPLAY_BUCKET=solo-scores-replays
# S3_AVATAR_KEY=
# S3_AVATAR_SECRET=
# S3_AVATAR_REGION=
# S3_AVATAR_BUCKET=
# S3_AVATAR_BASE_URL=
# AVATAR_STORAGE=local-avatar
# AVATAR_CACHE_PURGE_PREFIX=
# AVATAR_CACHE_PURGE_METHOD=
# AVATAR_CACHE_PURGE_AUTHORIZATION_KEY=
# DEFAULT_AVATAR=http://localhost/images/layout/[email protected]
# Either "s3" or "local".
# SCORE_REPLAYS_STORAGE=local
# QUEUE_DRIVER=
# CAMO_KEY=
# CAMO_PREFIX=
# ADMIN_FORUM_ID=
# FEATURE_FORUM_ID=4
# FEATURE_TOPIC_LARGE_STAR_CUTOFF=1000
# HELP_FORUM_ID=5
# INITIAL_HELP_FORUM_IDS="5 47 85"
# ISSUE_FORUM_IDS=
# FORUM_POST_MINIMUM_PLAYS=200
PUSHER_APP_ID=
PUSHER_KEY=
PUSHER_SECRET=
# PASSPORT_KEY_PATH=/secure/osu.ppy.sh/oauth
# ENCHANT_ID=
# GITHUB_TOKEN=
# GitHub client for users to associate their GitHub accounts
# Use "<APP_URL>/home/account/github-users/callback" for the "Authorization callback URL" field on GitHub
# GITHUB_CLIENT_ID=
# GITHUB_CLIENT_SECRET=
# DATADOG_ENABLED=true
# DATADOG_PREFIX=osu.web
# DATADOG_API_KEY=
# DATADOG_APP_KEY=
# DATADOG_HOST=https://app.datadoghq.com
# DATADOG_STATSD_HOST=localhost
# DATADOG_STATSD_PORT=8125
# DATADOG_STATSD_SOCKET=
# LANDING_VIDEO_URL=
# FEATURED_UPDATE_STREAM=
# UPDATE_STREAMS=
# CHANGELOG_CHART_DAYS=
# CHANGELOG_BUILD_HISTORY_INTERVAL=
# CHANGELOG_GITHUB_TOKEN=
# SUPER_FRIENDLY='3'
PAYMENT_SANDBOX=true
SHOPIFY_DOMAIN=
SHOPIFY_STOREFRONT_TOKEN=
SHOPIFY_WEBHOOK_KEY=
STORE_NOTIFICATION_CHANNEL=test
STORE_NOTIFICATIONS_QUEUE=store-notifications
STORE_STALE_DAYS=
PAYPAL_CLIENT_ID=
PAYPAL_CLIENT_SECRET=
PAYPAL_MERCHANT_ID=
PAYPAL_NO_SHIPPING_EXPERIENCE_PROFILE_ID=
PAYPAL_URL=https://www.sandbox.paypal.com/cgi-bin/webscr
XSOLLA_API_KEY=
XSOLLA_MERCHANT_ID=
XSOLLA_PROJECT_ID=
XSOLLA_SECRET_KEY=
OSU_RUNNING_COST=
CLIENT_CHECK_VERSION=false
# CLIENT_USER_AGENT=osu!
# DEFAULT_BUILD_ID=0
# SEARCH_MINIMUM_LENGTH=2
# BEATMAPS_DIFFICULTY_CACHE_SERVER_URL=http://localhost:5001
# BEATMAPS_OWNERS_MAX=10
# BEATMAPSET_DISCUSSION_KUDOSU_PER_USER=10
# BEATMAPSET_GUEST_ADVANCED_SEARCH=0
# BEATMAPSET_MAXIMUM_DISQUALIFIED_RANK_PENALTY_DAYS=7
# BEATMAPSET_REQUIRED_HYPE=5
# BEATMAPSET_USER_WEEKLY_HYPE=3
# BEATMAPSET_USER_DAILY_NOMINATIONS=10
# BEATMAPSET_USER_DOWNLOAD_LIMIT_HOURLY=10
# BEATMAPSET_USER_DOWNLOAD_LIMIT_HOURLY_SUPPORTER=20
# BEATMAPSET_USER_FAVOURITE_LIMIT=100
# BEATMAPSET_USER_FAVOURITE_LIMIT_SUPPORTER=1000
# Nominations required for a Beatmapset to be qualified. For hybrid Beatmapsets this is the nominations required for the main ruleset.
# BEATMAPSET_REQUIRED_NOMINATIONS=2
# BAN_PERSIST_DAYS=28
# ES_HOST=localhost:9200
# ES_SOLO_SCORES_HOST=localhost:9200
# ES_INDEX_PREFIX=
# ES_CLIENT_TIMEOUT=5
# ES_CLIENT_CONNECT_TIMEOUT=0.5
# ES_SEARCH_TIMEOUT=5s
# {prefix}{filename}.png with {filename} the achievement slug as stored in database.
# USER_ACHIEVEMENT_ICON_PREFIX=https://assets.ppy.sh/user-achievements/
## Limits for chat, throttles after a user sends more than CHAT_*_LIMIT messages in CHAT_*_WINDOW seconds
# CHAT_CHANNEL_LIMIT=10000
# CHAT_PUBLIC_LIMIT=1
# CHAT_PUBLIC_WINDOW=1
# CHAT_PRIVATE_LIMIT=1
# CHAT_PRIVATE_WINDOW=1
# CHAT_MESSAGE_LENGTH_LIMIT=450
# CHAT_PUBLIC_BACKLOG_LIMIT_HOURS=24
# ALLOW_REGISTRATION=true
# REGISTRATION_MODE_CLIENT=true
# REGISTRATION_MODE_WEB=false
# USER_ALLOW_EMAIL_LOGIN=true
# USER_BYPASS_VERIFICATION=false
# USER_POST_ACTION_VERIFICATION=true
# USER_MAX_LOGIN_ATTEMPTS=10
# USER_MIN_PLAYS_FOR_POSTING=10
# USER_MIN_PLAYS_ALLOW_VERIFIED_BYPASS=true
# space delimited, list of groups (the identifier) which user can be renamed when inactive
# USER_ALLOWED_RENAME_GROUPS="default"
# USER_MAX_FOLLOWS=5000
# USER_MAX_FRIENDS=250
# USER_MAX_FRIENDS_SUPPORTER=500
# USER_MAX_MULTIPLAYER_DURATION=14
# USER_MAX_MULTIPLAYER_DURATION_SUPPORTER=63
# USER_MAX_MULTIPLAYER_ROOMS=1
# USER_MAX_MULTIPLAYER_ROOMS_SUPPORTER=5
# USER_MAX_SCORE_PINS=10
# USER_MAX_SCORE_PINS_SUPPORTER=50
# the content is in markdown format
# USER_PROFILE_SCORES_NOTICE=
# MULTIPLAYER_MAX_ATTEMPTS_LIMIT=128
# MULTIPLAYER_ROOM_CLOSE_GRACE_PERIOD_MINUTES=5
# NOTIFICATION_QUEUE=notification
# NOTIFICATION_REDIS_HOST=127.0.0.1
# NOTIFICATION_REDIS_PORT=6379
# NOTIFICATION_REDIS_DB=0
# NOTIFICATION_REDIS_PASSWORD=
# NOTIFICATION_SERVER_LISTEN_HOST=127.0.0.1
# NOTIFICATION_SERVER_LISTEN_PORT=3000
# NOTIFICATION_ENDPOINT=/home/notifications/feed
# NOTIFICATION_CLEANUP_KEEP_DAYS=180
# NOTIFICATION_CLEANUP_MAX_DELETE=50000
# The open source bounty info page/form url
# OS_BOUNTY_URL=http://example.com/bounty_form
# OAUTH_MAX_USER_CLIENTS=1
# USER_REPORT_NOTIFICATION_ENDPOINT_CHEATING=
# default if nothing specified for specific type
# USER_REPORT_NOTIFICATION_ENDPOINT_MODERATION=
# USER_REPORT_NOTIFICATION_ENDPOINT_BEATMAPSET=
# USER_REPORT_NOTIFICATION_ENDPOINT_BEATMAPSET_DISCUSSION=
# USER_REPORT_NOTIFICATION_ENDPOINT_CHAT=
# USER_REPORT_NOTIFICATION_ENDPOINT_COMMENT=
# USER_REPORT_NOTIFICATION_ENDPOINT_FORUM=
# USER_REPORT_NOTIFICATION_ENDPOINT_USER=
# LOG_CHANNEL=single
# WIKI_BRANCH=master
# WIKI_REPOSITORY=osu-wiki
# WIKI_USER=ppy
# BEATMAPSET_DISCUSSION_REVIEW_MAXIMUM_BLOCKS=1
# BEATMAPSET_DISCUSSION_REVIEW_MINIMUM_ISSUES=1
# PAGINATION_MAX_COUNT=10000
## Limits for the allowed number of simultaneous beatmapset uploads (displayed on the support page: /home/support)
# BEATMAPSET_UPLOAD_ALLOWED=4
# BEATMAPSET_UPLOAD_BONUS_PER_RANKED=1
# BEATMAPSET_UPLOAD_BONUS_PER_RANKED_MAX=2
# BEATMAPSET_UPLOAD_ALLOWED_SUPPORTER=8
# BEATMAPSET_UPLOAD_BONUS_PER_RANKED_SUPPORTER=1
# BEATMAPSET_UPLOAD_BONUS_PER_RANKED_MAX_SUPPORTER=12
# CAPTCHA_THRESHOLD=
# TURNSTILE_SITE_KEY=
# TURNSTILE_SECRET_KEY=
# TWITCH_CLIENT_ID=
# TWITCH_CLIENT_SECRET=
# SCORES_ES_CACHE_DURATION=
# SCORES_EXPERIMENTAL_RANK_AS_DEFAULT=false
# SCORES_EXPERIMENTAL_RANK_AS_EXTRA=false
# SCORES_PROCESSING_QUEUE=osu-queue:score-statistics
# SCORES_SUBMISSION_ENABLED=1
# SCORE_INDEX_MAX_ID_DISTANCE=10_000_000
# BANCHO_BOT_USER_ID=
# OCTANE_LOCAL_CACHE_EXPIRE_SECOND=60
# OCTANE_LOCAL_CACHE_RESET_REQUESTS=100
# TRUSTED_PROXIES=
# IS_DEVELOPMENT_DEPLOY=true
# OSU_EXPERIMENTAL_HOST=
# OSU_URL_LAZER_ANDROID='https://github.com/ppy/osu/releases/latest/download/sh.ppy.osulazer.apk'
# OSU_URL_LAZER_IOS='/home/testflight'
# OSU_URL_LAZER_LINUX_X64='https://github.com/ppy/osu/releases/latest/download/osu.AppImage'
# OSU_URL_LAZER_MACOS_AS='https://github.com/ppy/osu/releases/latest/download/osu.app.Apple.Silicon.zip'
# OSU_URL_LAZER_OTHER='https://github.com/ppy/osu/#running-osu'
# OSU_URL_LAZER_WINDOWS_X64='https://github.com/ppy/osu/releases/latest/download/install.exe'
# OSU_URL_LAZER_INFO=
# OSU_URL_MENU_CONTENT_JSON=https://assets.ppy.sh/menu-content.json
# OSU_URL_USER_RESTRICTION=/wiki/Help_centre/Account_restrictions
# USER_COUNTRY_CHANGE_MAX_MIXED_MONTHS=2
# USER_COUNTRY_CHANGE_MIN_MONTHS=6
# USER_INACTIVE_DAYS_VERIFICATION=180
# USER_INACTIVE_FORCE_PASSWORD_RESET=false
# COUNTRY_PERFORMANCE_USER_COUNT=1000
# COUNTRY_PERFORMANCE_WEIGHTING_FACTOR=0.99
# TAGS_CACHE_DURATION=60
# BEATMAP_TAGS_CACHE_DURATION=60