2020-07-31 03:12:57 -06:00
|
|
|
http.port = 9663
|
2020-08-13 04:20:37 -06:00
|
|
|
https.port = disabled
|
2015-10-28 05:53:22 -06:00
|
|
|
mongodb {
|
2020-05-21 20:59:13 -06:00
|
|
|
uri = "mongodb://127.0.0.1:27017"
|
2019-12-07 09:02:21 -07:00
|
|
|
mongo-async-driver = ${akka}
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
net {
|
2019-12-12 14:00:11 -07:00
|
|
|
domain = "localhost:9663"
|
2020-01-03 13:47:38 -07:00
|
|
|
socket.domains = [ "localhost:9664" ]
|
2018-12-12 09:15:29 -07:00
|
|
|
asset.domain = ${net.domain}
|
2020-03-05 16:53:19 -07:00
|
|
|
asset.base_url = "http://"${net.asset.domain}
|
2020-08-01 02:15:00 -06:00
|
|
|
asset.minified = false
|
2020-02-26 21:21:11 -07:00
|
|
|
base_url = "http://"${net.domain}
|
2018-12-18 23:26:36 -07:00
|
|
|
ip = "127.0.0.1"
|
2019-12-12 13:06:32 -07:00
|
|
|
email = ""
|
2016-09-25 15:48:52 -06:00
|
|
|
crawlable = false
|
2019-12-04 16:39:16 -07:00
|
|
|
ratelimit = true
|
2020-05-05 20:53:16 -06:00
|
|
|
prodDomain = "lichess.org"
|
2020-05-16 11:22:36 -06:00
|
|
|
http.log = true
|
2020-08-01 02:15:00 -06:00
|
|
|
stage.banner = false
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
play {
|
2019-12-06 09:39:42 -07:00
|
|
|
application.loader = "lila.app.AppLoader"
|
2015-10-28 05:53:22 -06:00
|
|
|
http {
|
2019-12-05 22:35:55 -07:00
|
|
|
requestHandler = "play.api.http.DefaultHttpRequestHandler"
|
2019-12-06 09:39:42 -07:00
|
|
|
errorHandler = provided
|
|
|
|
filters = provided
|
2018-04-26 09:57:12 -06:00
|
|
|
parser.maxMemoryBuffer=1MB
|
2019-12-05 11:47:03 -07:00
|
|
|
session {
|
|
|
|
cookieName = "lila2"
|
|
|
|
maxAge = 3650 days
|
|
|
|
}
|
2019-12-05 22:35:55 -07:00
|
|
|
secret.key = "CiebwjgIM9cHQ;I?Xk:sfqDJ;BhIe:jsL?r=?IPF[saf>s^r0]?0grUq4>q?5mP^"
|
2017-09-09 09:01:35 -06:00
|
|
|
}
|
|
|
|
ws {
|
2017-09-11 08:56:36 -06:00
|
|
|
useragent = "lichess.org"
|
2017-09-09 09:01:35 -06:00
|
|
|
compressionEnabled = true
|
|
|
|
timeout {
|
|
|
|
connection = 5 seconds
|
|
|
|
idle = 5 minutes
|
|
|
|
request = 5 minutes
|
|
|
|
}
|
|
|
|
}
|
2019-12-07 08:47:45 -07:00
|
|
|
server {
|
2019-12-07 21:34:09 -07:00
|
|
|
# The maximum length of the HTTP headers. The most common effect of this is a restriction in cookie length, including
|
|
|
|
# number of cookies and size of cookie values.
|
|
|
|
max-header-size = 4096 # 8192
|
2019-12-07 08:47:45 -07:00
|
|
|
netty {
|
2019-12-07 21:34:09 -07:00
|
|
|
transport = "native"
|
2019-12-07 08:47:45 -07:00
|
|
|
# The maximum length of the initial line. This effectively restricts the maximum length of a URL that the server will
|
|
|
|
# accept, the initial line consists of the method (3-7 characters), the URL, and the HTTP version (8 characters),
|
|
|
|
# including typical whitespace, the maximum URL length will be this number - 18.
|
|
|
|
maxInitialLineLength = 2048 # 4096
|
|
|
|
}
|
|
|
|
}
|
2019-12-13 20:41:26 -07:00
|
|
|
akka {
|
|
|
|
actor-system = lila
|
|
|
|
}
|
|
|
|
}
|
|
|
|
akka {
|
|
|
|
loggers = ["akka.event.slf4j.Slf4jLogger"]
|
|
|
|
loglevel = INFO
|
|
|
|
# stdout-loglevel = INFO
|
|
|
|
log-dead-letters-during-shutdown = off
|
2019-12-22 15:56:33 -07:00
|
|
|
akka.log-dead-letters = off
|
2019-12-26 18:28:17 -07:00
|
|
|
coordinated-shutdown {
|
|
|
|
phases {
|
|
|
|
actor-system-terminate {
|
|
|
|
timeout = 5s
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-12-04 16:39:16 -07:00
|
|
|
}
|
2019-12-28 08:16:14 -07:00
|
|
|
app {
|
|
|
|
renderer.name = "renderer"
|
|
|
|
stage = false
|
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
api {
|
|
|
|
token = secret
|
2016-12-05 03:34:43 -07:00
|
|
|
influx_event = {
|
2018-03-02 18:24:38 -07:00
|
|
|
endpoint = "http://monitor.lichess.ovh:8086/write?db=events"
|
2016-12-05 03:34:43 -07:00
|
|
|
env = "dev"
|
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
accessibility {
|
|
|
|
blind {
|
|
|
|
cookie {
|
|
|
|
name = "mBzamRgfXgRBSnXB"
|
|
|
|
salt = "WWcTbz5xxaHU4d96"
|
|
|
|
max_age = 31536000 # one year
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
prismic {
|
2019-12-12 13:13:13 -07:00
|
|
|
api_url = "https://lichess.cdn.prismic.io/api"
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
blog {
|
2019-12-12 13:13:13 -07:00
|
|
|
prismic = ${prismic}
|
2019-12-19 20:34:38 -07:00
|
|
|
collection = blog
|
2016-03-23 23:14:25 -06:00
|
|
|
last_post_cache.ttl = 5 minutes
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
chat {
|
2016-06-10 09:15:00 -06:00
|
|
|
collection {
|
|
|
|
chat = chat
|
|
|
|
timeout = chat_timeout
|
|
|
|
}
|
2016-11-03 08:16:08 -06:00
|
|
|
max_lines = 200
|
2015-10-28 05:53:22 -06:00
|
|
|
actor.name = chat
|
2016-06-10 12:20:56 -06:00
|
|
|
timeout {
|
2017-01-14 05:17:37 -07:00
|
|
|
duration = 15 minutes
|
|
|
|
check_every = 15 seconds
|
2016-06-10 12:20:56 -06:00
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
puzzle {
|
2016-01-04 07:47:44 -07:00
|
|
|
mongodb {
|
|
|
|
uri = "mongodb://127.0.0.1:27017/lichess"
|
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
collection {
|
2020-11-14 11:02:07 -07:00
|
|
|
puzzle = puzzle2_puzzle
|
|
|
|
round = puzzle2_round
|
|
|
|
path = puzzle2_path
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
coordinate {
|
|
|
|
collection {
|
|
|
|
score = coordinate_score
|
|
|
|
}
|
|
|
|
}
|
2016-08-22 16:05:10 -06:00
|
|
|
event {
|
|
|
|
collection {
|
|
|
|
event = event
|
|
|
|
}
|
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
video {
|
|
|
|
collection {
|
|
|
|
video = video
|
|
|
|
view = video_view
|
|
|
|
}
|
|
|
|
sheet {
|
|
|
|
url = "https://spreadsheets.google.com/feeds/list/1qYU1XhvC8TlBggXEkjI481ieNGyYGmMTy97A9iboyrM/2/public/values?alt=json"
|
|
|
|
delay = 3 hour
|
|
|
|
}
|
|
|
|
youtube {
|
|
|
|
url = "https://www.googleapis.com/youtube/v3/videos"
|
|
|
|
api_key = ""
|
|
|
|
max = 50
|
|
|
|
delay = 20 minutes
|
|
|
|
}
|
|
|
|
}
|
|
|
|
search {
|
|
|
|
enabled = false
|
|
|
|
writeable = true
|
|
|
|
endpoint = "http://localhost:9673"
|
|
|
|
}
|
|
|
|
teamSearch {
|
|
|
|
index = team
|
|
|
|
actor.name = team-search
|
|
|
|
}
|
|
|
|
relation {
|
|
|
|
collection {
|
|
|
|
relation = relation
|
|
|
|
}
|
|
|
|
limit {
|
2020-04-06 12:15:25 -06:00
|
|
|
follow = 400
|
2015-10-28 05:53:22 -06:00
|
|
|
block = 500
|
|
|
|
}
|
|
|
|
}
|
|
|
|
bookmark {
|
|
|
|
collection.bookmark = bookmark
|
2019-12-05 14:51:18 -07:00
|
|
|
paginator.max_per_page = ${game.paginator.max_per_page}
|
2015-10-28 05:53:22 -06:00
|
|
|
actor.name = bookmark
|
|
|
|
}
|
|
|
|
geoip {
|
2020-07-23 03:43:08 -06:00
|
|
|
file = ""
|
2017-02-09 16:20:20 -07:00
|
|
|
cache_ttl = 20 minutes
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
security {
|
|
|
|
collection.security = security
|
2019-08-08 10:39:09 -06:00
|
|
|
collection.print_ban = print_ban
|
2019-11-30 00:34:21 -07:00
|
|
|
collection.firewall = firewall
|
2015-10-28 05:53:22 -06:00
|
|
|
flood.duration = 60 seconds
|
|
|
|
geoip = ${geoip}
|
|
|
|
password_reset {
|
|
|
|
secret = "???"
|
|
|
|
}
|
|
|
|
email_confirm {
|
2015-12-13 23:46:28 -07:00
|
|
|
enabled = false
|
2017-07-14 17:09:42 -06:00
|
|
|
secret = "???"
|
2018-03-29 13:59:31 -06:00
|
|
|
cookie = "email_confirm"
|
2017-07-14 17:09:42 -06:00
|
|
|
}
|
|
|
|
email_change {
|
2015-10-28 05:53:22 -06:00
|
|
|
secret = "???"
|
|
|
|
}
|
2016-12-13 04:29:48 -07:00
|
|
|
login_token {
|
|
|
|
secret = "???"
|
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
tor {
|
2020-09-18 15:36:45 -06:00
|
|
|
enabled = true
|
2015-10-28 05:53:22 -06:00
|
|
|
provider_url = "https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip="${net.ip}"&port=80"
|
2016-01-05 18:27:32 -07:00
|
|
|
refresh_delay = 1 hour
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
disposable_email {
|
2020-09-18 15:36:45 -06:00
|
|
|
enabled = true
|
2018-12-24 21:03:05 -07:00
|
|
|
provider_url = "https://raw.githubusercontent.com/ornicar/disposable/publish/domains.txt"
|
2018-02-06 08:41:03 -07:00
|
|
|
refresh_delay = 10 minutes
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
2018-12-29 02:45:25 -07:00
|
|
|
dns_api {
|
2019-04-20 03:04:00 -06:00
|
|
|
url = "https://cloudflare-dns.com/dns-query"
|
2018-12-29 02:45:25 -07:00
|
|
|
timeout = 5 seconds
|
|
|
|
}
|
2019-08-09 08:02:29 -06:00
|
|
|
check_mail_api {
|
|
|
|
url = "https://mailcheck.p.rapidapi.com/"
|
|
|
|
key = ""
|
|
|
|
}
|
2020-09-18 15:36:45 -06:00
|
|
|
ip2proxy {
|
2020-12-18 07:53:17 -07:00
|
|
|
enabled = false
|
2020-09-18 15:36:45 -06:00
|
|
|
url = "http://ip2proxy.lichess.ovh:1929"
|
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
recaptcha = ${recaptcha}
|
2017-07-14 17:22:31 -06:00
|
|
|
mailgun = ${mailgun}
|
2019-12-10 17:44:12 -07:00
|
|
|
lame_name_check = true
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
2018-02-14 07:49:08 -07:00
|
|
|
oauth {
|
|
|
|
mongodb {
|
|
|
|
uri = ${mongodb.uri}
|
|
|
|
}
|
|
|
|
collection {
|
|
|
|
access_token = oauth_access_token
|
2018-03-31 22:57:57 -06:00
|
|
|
app = oauth_client
|
2018-02-14 07:49:08 -07:00
|
|
|
}
|
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
recaptcha {
|
|
|
|
endpoint = "https://www.google.com/recaptcha/api/siteverify"
|
2017-10-20 14:34:27 -06:00
|
|
|
public_key = "6LcxLTUUAAAAAFwWrEgEehMJ6VXrtVOKIifTLGoW"
|
2015-10-28 05:53:22 -06:00
|
|
|
private_key = ""
|
2016-03-19 04:58:32 -06:00
|
|
|
enabled = false
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
shutup {
|
|
|
|
collection.shutup = shutup
|
|
|
|
actor.name = shutup
|
|
|
|
}
|
|
|
|
playban {
|
|
|
|
collection.playban = playban
|
|
|
|
}
|
2015-12-23 20:41:28 -07:00
|
|
|
perfStat {
|
|
|
|
collection.perf_stat = "perf_stat"
|
|
|
|
}
|
2015-12-07 05:04:22 -07:00
|
|
|
push {
|
2019-05-01 14:28:34 -06:00
|
|
|
collection {
|
|
|
|
device = push_device
|
|
|
|
subscription = push_subscription
|
|
|
|
}
|
|
|
|
web {
|
2020-02-01 06:51:20 -07:00
|
|
|
vapid_public_key = "BGr5CL0QlEYa7qW7HLqe7DFkCeTsYMLsi1Db+5Vwt1QBIs6+WxN8066AjtP8S9u+w+CbleE8xWY+qQaNEMs7sAs="
|
2019-05-18 09:14:33 -06:00
|
|
|
url = "http://push.lichess.ovh:9054"
|
2019-05-01 14:28:34 -06:00
|
|
|
}
|
2016-09-04 06:10:09 -06:00
|
|
|
onesignal {
|
|
|
|
url = "https://onesignal.com/api/v1/notifications"
|
2016-09-04 06:41:24 -06:00
|
|
|
app_id = ""
|
2016-09-04 06:10:09 -06:00
|
|
|
key = ""
|
2016-03-14 04:57:14 -06:00
|
|
|
}
|
2019-11-27 08:11:03 -07:00
|
|
|
firebase {
|
|
|
|
url = "https://fcm.googleapis.com/v1/projects/lichess-1366/messages:send"
|
2019-11-27 08:49:25 -07:00
|
|
|
json = ""
|
2019-11-27 08:11:03 -07:00
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
mod {
|
|
|
|
collection {
|
|
|
|
modlog = modlog
|
|
|
|
player_assessment = player_assessment
|
|
|
|
boosting = boosting
|
2016-01-11 02:37:09 -07:00
|
|
|
gaming_history = mod_gaming_history
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
boosting.nb_games_to_mark = 5
|
|
|
|
boosting.ratio_games_to_mark = 0.01
|
|
|
|
actor.name = mod
|
|
|
|
}
|
|
|
|
report {
|
2017-12-01 09:56:54 -07:00
|
|
|
collection.report = report2
|
2015-10-28 05:53:22 -06:00
|
|
|
actor.name = report
|
2017-12-04 13:56:31 -07:00
|
|
|
score.threshold = 50
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
i18n {
|
2019-12-28 08:17:06 -07:00
|
|
|
web_path.relative = public/trans
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
detectlanguage.api {
|
2019-05-22 06:57:23 -06:00
|
|
|
url = "https://ws.detectlanguage.com/0.2/detect"
|
2018-05-03 15:43:33 -06:00
|
|
|
key = ""
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
mailgun {
|
|
|
|
api {
|
2017-10-31 10:08:19 -06:00
|
|
|
url = ""
|
|
|
|
key = ""
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
2016-09-06 04:12:59 -06:00
|
|
|
sender = "lichess.org <noreply@lichess.org>"
|
2018-12-20 02:08:32 -07:00
|
|
|
reply_to = "lichess.org <noreply@lichess.org>"
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
timeline {
|
|
|
|
collection {
|
|
|
|
unsub = timeline_unsub
|
|
|
|
entry = timeline_entry
|
|
|
|
}
|
|
|
|
user {
|
2019-12-21 22:22:26 -07:00
|
|
|
display_max = 10
|
2015-10-28 05:53:22 -06:00
|
|
|
actor.name = user-timeline
|
|
|
|
}
|
|
|
|
}
|
|
|
|
game {
|
2019-12-05 11:47:03 -07:00
|
|
|
paginator.max_per_page = 12
|
2015-10-28 05:53:22 -06:00
|
|
|
collection {
|
|
|
|
game = game5
|
2016-07-12 17:27:32 -06:00
|
|
|
crosstable = crosstable2
|
2017-07-09 14:27:21 -06:00
|
|
|
matchup = matchup
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
captcher {
|
|
|
|
name = captcher
|
2018-12-13 20:01:34 -07:00
|
|
|
duration = 15 seconds
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
2020-03-05 11:40:33 -07:00
|
|
|
gifUrl = "http://gif.lichess.ovh:6175"
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
2017-12-27 21:56:36 -07:00
|
|
|
streamer {
|
2017-12-28 08:53:52 -07:00
|
|
|
collection.streamer = "streamer"
|
2017-12-28 14:56:58 -07:00
|
|
|
paginator.max_per_page = 12
|
2017-12-31 10:18:08 -07:00
|
|
|
streaming {
|
|
|
|
google.api_key = ""
|
2018-01-02 10:17:01 -07:00
|
|
|
keyword = "lichess.org"
|
2017-12-31 10:18:08 -07:00
|
|
|
}
|
2017-12-27 21:56:36 -07:00
|
|
|
}
|
2016-02-08 08:42:33 -07:00
|
|
|
explorer {
|
2018-03-02 16:58:05 -07:00
|
|
|
endpoint = "https://explorer.lichess.ovh"
|
|
|
|
internal_endpoint = "http://explorer.lichess.ovh"
|
2016-04-25 14:31:34 -06:00
|
|
|
tablebase = {
|
2018-03-02 16:58:05 -07:00
|
|
|
endpoint = "https://tablebase.lichess.ovh"
|
2016-04-25 14:31:34 -06:00
|
|
|
}
|
2016-02-08 08:42:33 -07:00
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
gameSearch {
|
|
|
|
index = game
|
2016-08-18 03:56:11 -06:00
|
|
|
paginator.max_per_page = 12
|
2015-10-28 05:53:22 -06:00
|
|
|
actor.name = game-search
|
|
|
|
}
|
|
|
|
round {
|
|
|
|
moretime = 15 seconds
|
|
|
|
collection {
|
|
|
|
note = game_note
|
|
|
|
forecast = forecast
|
2016-11-07 04:07:16 -07:00
|
|
|
alarm = round_alarm
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
tournament {
|
|
|
|
collection {
|
|
|
|
tournament = tournament2
|
|
|
|
player = tournament_player
|
|
|
|
pairing = tournament_pairing
|
2015-12-10 21:55:06 -07:00
|
|
|
leaderboard = tournament_leaderboard
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
2018-12-16 18:48:24 -07:00
|
|
|
history.message.ttl = 20 seconds
|
2019-07-13 12:02:50 -06:00
|
|
|
sri.timeout = 7 seconds # small to avoid missed events
|
2016-03-21 01:07:22 -06:00
|
|
|
api_actor.name = tournament-api
|
2015-10-28 05:53:22 -06:00
|
|
|
pairing.delay = 3.1 seconds
|
|
|
|
}
|
2020-05-04 01:38:24 -06:00
|
|
|
swiss {
|
|
|
|
bbpairing = "/path/to/bbpPairings.exe"
|
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
simul {
|
2019-12-23 18:01:45 -07:00
|
|
|
collection.simul = simul
|
2019-07-08 12:46:51 -06:00
|
|
|
feature.views = 10000 # max frontpage views of simul per host per day
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
forum {
|
|
|
|
topic.max_per_page = 10
|
|
|
|
post.max_per_page = 10
|
|
|
|
public_categ_ids = [
|
|
|
|
general-chess-discussion
|
|
|
|
game-analysis
|
|
|
|
lichess-feedback
|
|
|
|
off-topic-discussion
|
|
|
|
]
|
|
|
|
}
|
|
|
|
forumSearch {
|
|
|
|
index = forum
|
|
|
|
paginator.max_per_page = 10
|
|
|
|
actor.name = forum-search
|
|
|
|
}
|
|
|
|
message {
|
|
|
|
thread.max_per_page = 30
|
|
|
|
collection.thread = m_thread
|
|
|
|
}
|
2016-08-21 01:16:41 -06:00
|
|
|
coach {
|
|
|
|
collection.coach = coach
|
2016-08-31 08:06:21 -06:00
|
|
|
collection.review = coach_review
|
2016-08-21 01:16:41 -06:00
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
memo {
|
|
|
|
collection {
|
|
|
|
cache = cache
|
2017-01-21 05:34:20 -07:00
|
|
|
config = flag
|
|
|
|
}
|
|
|
|
}
|
2019-10-21 08:37:53 -06:00
|
|
|
redis {
|
|
|
|
uri = "redis://127.0.0.1"
|
|
|
|
# uri = "redis-socket:///var/run/redis/redis-server.sock"
|
|
|
|
}
|
2019-07-01 10:13:09 -06:00
|
|
|
socket {
|
2019-10-21 08:37:53 -06:00
|
|
|
redis = ${redis}
|
2019-07-01 10:13:09 -06:00
|
|
|
}
|
2019-12-03 07:41:29 -07:00
|
|
|
setup.max_playing = 200
|
2017-01-31 06:39:57 -07:00
|
|
|
evalCache {
|
2019-11-30 09:11:25 -07:00
|
|
|
collection.evalCache = eval_cache
|
2017-01-30 17:42:17 -07:00
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
user {
|
|
|
|
online.ttl = 7 seconds
|
|
|
|
collection {
|
|
|
|
user = user4
|
|
|
|
note = note
|
|
|
|
trophy = trophy
|
2019-06-29 09:19:12 -06:00
|
|
|
trophyKind = trophyKind
|
2016-02-20 22:03:26 -07:00
|
|
|
ranking = ranking
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
2017-09-23 17:02:17 -06:00
|
|
|
password.bpass {
|
2017-09-27 09:41:03 -06:00
|
|
|
secret = "9qEYN0ThHer1KWLNekA76Q=="
|
2017-09-23 17:02:17 -06:00
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
2016-03-11 08:23:06 -07:00
|
|
|
fishnet {
|
2019-10-21 08:37:53 -06:00
|
|
|
redis = ${redis}
|
2016-03-11 08:23:06 -07:00
|
|
|
collection {
|
|
|
|
analysis = fishnet_analysis
|
|
|
|
client = fishnet_client
|
|
|
|
}
|
2016-03-12 08:39:30 -07:00
|
|
|
offline_mode = true # any client can provide moves and analysis
|
2017-08-08 17:35:16 -06:00
|
|
|
actor.name = fishnet
|
2020-11-27 16:28:36 -07:00
|
|
|
analysis.nodes = 2250000 # nnue
|
2016-09-05 08:15:24 -06:00
|
|
|
move.plies = 300
|
2018-11-08 05:28:56 -07:00
|
|
|
client_min_version = "1.15.10"
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
2015-11-26 21:05:59 -07:00
|
|
|
insight {
|
2015-11-24 22:13:30 -07:00
|
|
|
mongodb {
|
2016-01-09 08:29:35 -07:00
|
|
|
uri = "mongodb://127.0.0.1:27017/lichess-insight"
|
2015-11-24 22:13:30 -07:00
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
2016-05-30 06:51:36 -06:00
|
|
|
notify {
|
|
|
|
collection.notify = notify
|
2016-06-02 12:42:53 -06:00
|
|
|
actor.name = notify
|
2016-05-30 06:51:36 -06:00
|
|
|
}
|
2016-06-22 15:07:38 -06:00
|
|
|
learn {
|
|
|
|
collection.progress = learn_progress
|
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
simulation {
|
|
|
|
enabled = false
|
|
|
|
players = 300
|
|
|
|
watchers = 200
|
|
|
|
}
|
2019-12-04 21:32:03 -07:00
|
|
|
slack.incoming.url = ""
|
2016-07-12 11:19:30 -06:00
|
|
|
plan {
|
|
|
|
stripe {
|
|
|
|
endpoint="https://api.stripe.com/v1"
|
|
|
|
keys {
|
2020-02-07 08:30:47 -07:00
|
|
|
public="pk_test_5wVLffjCc56emuY3IYgdlwpK00kmyOJcO1"
|
|
|
|
secret=""
|
2016-07-12 11:19:30 -06:00
|
|
|
}
|
2016-06-06 03:36:21 -06:00
|
|
|
}
|
2016-07-14 15:11:42 -06:00
|
|
|
paypal {
|
|
|
|
ipn_key=""
|
|
|
|
}
|
2016-07-12 10:33:22 -06:00
|
|
|
collection {
|
2016-07-12 11:19:30 -06:00
|
|
|
patron = plan_patron
|
|
|
|
charge = plan_charge
|
2016-07-12 10:33:22 -06:00
|
|
|
}
|
2016-06-06 03:36:21 -06:00
|
|
|
}
|
2015-10-28 05:53:22 -06:00
|
|
|
hub {
|
|
|
|
actor {
|
|
|
|
game {
|
|
|
|
search = ${gameSearch.actor.name}
|
|
|
|
}
|
2019-12-28 08:16:14 -07:00
|
|
|
renderer = ${app.renderer.name}
|
2015-10-28 05:53:22 -06:00
|
|
|
captcher = ${game.captcher.name}
|
|
|
|
forum {
|
|
|
|
search = ${forumSearch.actor.name}
|
|
|
|
}
|
2016-07-25 14:34:15 -06:00
|
|
|
team.search = ${teamSearch.actor.name}
|
2016-03-12 05:56:44 -07:00
|
|
|
fishnet = ${fishnet.actor.name}
|
2016-03-21 01:07:22 -06:00
|
|
|
tournament.api = ${tournament.api_actor.name}
|
2015-10-28 05:53:22 -06:00
|
|
|
timeline {
|
|
|
|
user = ${timeline.user.actor.name}
|
|
|
|
}
|
|
|
|
bookmark = ${bookmark.actor.name}
|
|
|
|
report = ${report.actor.name}
|
|
|
|
shutup = ${shutup.actor.name}
|
|
|
|
mod = ${mod.actor.name}
|
|
|
|
chat = ${chat.actor.name}
|
2016-06-02 12:42:53 -06:00
|
|
|
notify = ${notify.actor.name}
|
2015-10-28 05:53:22 -06:00
|
|
|
}
|
|
|
|
}
|
2016-03-08 05:28:34 -07:00
|
|
|
kamon {
|
2019-12-19 20:07:28 -07:00
|
|
|
enabled = false
|
2019-12-05 20:01:24 -07:00
|
|
|
environment.service = "lila"
|
2019-12-11 10:14:01 -07:00
|
|
|
metric.tick-interval = 60 seconds
|
2016-11-17 03:41:45 -07:00
|
|
|
influxdb {
|
2019-12-20 16:30:45 -07:00
|
|
|
hostname = ""
|
2016-11-17 03:41:45 -07:00
|
|
|
port = 8086
|
2019-12-05 20:01:24 -07:00
|
|
|
database = "kamon"
|
|
|
|
percentiles = [50.0, 75.0, 90.0, 95.0, 99.0, 99.9]
|
|
|
|
protocol = "http"
|
2019-12-14 13:13:06 -07:00
|
|
|
post-empty-distributions = false
|
2019-12-05 20:01:24 -07:00
|
|
|
precision = "s"
|
|
|
|
environment-tags {
|
2019-12-09 18:41:55 -07:00
|
|
|
include-service = no
|
2019-12-05 20:01:24 -07:00
|
|
|
include-host = no
|
2019-12-09 18:41:55 -07:00
|
|
|
include-instance = yes
|
2016-11-17 03:41:45 -07:00
|
|
|
}
|
|
|
|
}
|
2020-03-08 21:17:46 -06:00
|
|
|
prometheus {
|
2020-03-08 21:22:09 -06:00
|
|
|
buckets {
|
|
|
|
default-buckets = [ 10, 100, 1000, 10000, 100000 ]
|
|
|
|
time-buckets = [ 0.01, 0.05, 0.1, 0.5, 1, 5, 10 ]
|
|
|
|
information-buckets = [ 512, 2048, 16384, 524288, ]
|
|
|
|
}
|
2020-03-08 21:17:46 -06:00
|
|
|
}
|
2016-03-10 05:59:03 -07:00
|
|
|
modules {
|
2019-12-05 20:01:24 -07:00
|
|
|
jvm-metrics.enabled = yes
|
|
|
|
process-metrics.enabled = yes
|
|
|
|
host-metrics.enabled = no
|
2020-03-08 21:17:46 -06:00
|
|
|
prometheus-reporter.enabled = yes
|
2016-03-08 05:28:34 -07:00
|
|
|
}
|
|
|
|
}
|
2020-01-05 09:00:50 -07:00
|
|
|
# Don't let play manage its own PID file
|
|
|
|
pidfile.path = "/dev/null"
|