-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathconfig.ini.example
120 lines (100 loc) · 4.12 KB
/
config.ini.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
[meta]
# enviornment=prod for deployed instances
environment=dev
[dev]
## Site settings ##
# The displayed name of this site
site-name=Spacedock.Info
# Short abstract, displayed for example in OpenGraph embeds
caption=A community modding site for Kerbal Space Program
# The email where users who need help write to
support-mail=support@spacedock.info
# The email address that automatically activates people who send to it
activation-mail=
# Where the source code of your page is hosted. If you have forked and
# edited the code, change this. Otherwise don't.
source-code=https://github.com/KSP-SpaceDock/SpaceDock
# Put all support channels in here, like Riot, Discord or IRC.
support-channels={ "Riot" : "https://im.52k.de/", "Discord" : "https://discord.gg/htPQYqC", "IRC" : "http://webchat.esper.net/?channels=spacedock" }
# If you have a donation link, you may add the address here.
donation-link=https://www.patreon.com/user?u=2903335&ty=p
# If you have a donation link and want it displayed below the header, set this to 'true'
donation-header-link=false
# Set this to False to disable registration
registration=True
# Set this to the id of the Game that represents KSP.
# Its GameVersions will automatically sync up with CKAN's KSP builds.json.
ksp-game-id=
# Set this to the id of the Game that represents KSP2.
# Its GameVersions will automatically sync up with CKAN's KSP2 builds.json.
ksp2-game-id=
# Thumbnail size in WxH format. Defaults to 320x195 if not set.
# The better it matches the aspect ratio as it is displayed in the mod box, the better the quality.
# It's somewhere between 16:9 and 16:10, but changes a bit based on client screen size.
thumbnail_size=320x195
# Thumbnail quality, between 0 and 100. Defaults to 80 if not set.
thumbnail_quality=80
## Web server settings ##
# Change this to the actual location of your site
protocol=http
domain=localhost:5080
# Change this value to something random and secret
secret-key=hello world
# Redirect downloads to a CDN. Can also contain a partial path, without trailing slash.
# The 'protocol' setting from above will also be used for the CDN.
cdn-domain=
# The internal hostname of the CDN / a reverse proxy in front of this server that caches mod files.
# If set, the backend will send a PURGE request when a mod version gets deleted to clear it from the cache.
cdn-internal=
# Enable offloading of downloads to the reverse proxy server. Make sure the reverse proxy is set up!
# valid values are:
# false - disable offloading
# nginx - enable X-Accel headers
# apache - enable X-Sendfile headers
use-x-accel=false
# To send emails, fill out these details
smtp-host=
smtp-port=
smtp-user=
smtp-password=
smtp-tls=false
# Exceptions are emailed here
error-to=
error-from=
## Database settings ##
# SQL connection string
connection-string=postgresql://postgres:somewhatsecretpassword@db/spacedock
# Redis connection string
# http://docs.celeryproject.org/en/3.0/getting-started/brokers/redis.html
redis-connection=redis://redis:6379/0
# Absolute path to the directory you want to store mods in
storage=/opt/spacedock/storage
## Automation and extensions settings ##
# Set hook_secret and your GitHub web hook's secret to the same value to authenticate hooks
# to trigger automatic redeployment.
hook_secret=
hook_repository=KSP-SpaceDock/SpaceDock
hook_branch=master
restart_command=systemd-restart.sh
# Ads
project_wonderful_id=
# Analytics
google_analytics_id=
google_analytics_domain=
# Blog comments
disqus_id=
# Path to store profiling runs, leave blank to turn off profiling
profile-dir=
# If set, profile all requests but only save the data if they take longer than this in milliseconds
profile-threshold-ms=
# If set to an integer, profile approximately 1 out of every this many requests (default 1)
# (ignored if profile-threshold-ms is set)
requests-per-profile=
# Name of host where ClamAV daemon is running
# Must have storage mounted at same absolute path we use!
clamav-host=
# Port where ClamAV daemon is running (default 3310 if host is set)
clamav-port=
# Path where uploads determined to have malware will be moved for admin inspection
# If left empty, they will be deleted instead
clamav-quarantine-folder=