-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.yml.samp
48 lines (37 loc) · 1.4 KB
/
config.yml.samp
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
# Maps and player names to ignore. referred to below.
aliases:
- &ignore_maps [ 'Lothic', 'Lobby' ]
- &ignore_players [ 'Major', 'Major(1)', 'Major(2)', 'Major(3)', 'Major(4)', 'Major(5)' ]
# One block per server entry. If more than one is present,
# the site will let you choose which as well as incorporate
# the slug into the URL. Note: changing slug will change the
# redis key prefix which will invalidate all stats for that
# server
soldat_servers:
- slug: dm
title: "JRGP's EU DM"
dirs:
- /usr/local/joe/pyredis_stats/soldat
# Used for connecting to admin to show live stats on
# frontpage. Optional.
ip: 88.198.8.206
port: 23020
password: notreal
# Ignore events with these player names
ignore_players: *ignore_players
# Ignore events (kills/caps/rounds/etc) on maps like this
ignore_maps: *ignore_maps
# When you have multiple servers, the nav bar at the top with player search
# and the server browser dropdown appears.
# Days to keep track of stats
data_retention: 30
# These key-pairs are fed into redis.Redis() as **kwargs. See
# https://redis-py.readthedocs.org/en/latest/ for available keys.
# If you just did apt-get install redis-server, the following is fine.
redis_connect:
host: localhost
# Used when you run the site with `runsite` instead of using an external command
# like gunicorn or uwsgi
gunicorn_settings:
bind: 0.0.0.0:5000
workers: 4