-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathftp_config.yml.samp
53 lines (42 loc) · 1.4 KB
/
ftp_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
49
50
51
52
53
#
# Logs via FTP Example
#
# 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: joe server
title: joe
dirs:
- /23000
# Choose to get these logs via plain ftp
source: ftp
# Settings passed to paramiko.client.SSHClient.connect() as **kwargs
# See http://docs.paramiko.org/en/1.16/api/client.html for more keys.
connection:
# Settings for FTP
hostname: sub-fl.gshost.us
port: 21
username: fillthisin
password: fillthisin
# Used for connecting to soldat server to show live stats on
# frontpage. Optional.
ip: 88.198.8.206
port: 23020
password: notreal
# 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