-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathssh_config.yml.samp
61 lines (48 loc) · 1.61 KB
/
ssh_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
54
55
56
57
58
59
60
61
#
# Logs via SSH 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:
- /home/dardar/server1
# Choose to get these logs via ssh/sftp
source: ssh
# 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 SSH.
hostname: localhost
port: 22
username: joe
# Look ~/.ssh for keys/etc
look_for_keys: True
allow_agent: True
# If you don't want to use ssh agents you can set pw here
# password:
# Compress the ssh connection. I recommend this.
compress: True
# 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