forked from MediaCrush/MediaCrush
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ini.sample
66 lines (53 loc) · 2.14 KB
/
config.ini.sample
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
# Most of these options can (and should) be left with their default values.
[meta]
# Internal use for determining if this is the live site or not.
# Not really used right now, just leave it be.
environment = dev
[dev]
# Protocol and domain are used for constructing URLs in scripts like mediacrush.js.
# Don't worry about changing these values in unless you need to distribute a custom
# mediacrush.js.
protocol = https
domain = mediacru.sh
# When running in debug mode, this controls the endpoint that it listens on.
debug-host = 0.0.0.0
debug-port = 5000
# storage_folder is the location on disk where uploaded files should be saved.
storage_folder = storage
# This value is currently ignored, and each supported mimetype has its own timing rules.
max_processing_time = 60
# Hooks allow the site to rebuild itself when there's a commit to the repository
# POST github-style hook messages to /hook/ to update
# Only these IP (ranges) will be allowed. By default, we use localhost and the
# GitHub hook IPs.
# The site will `git pull` and then execute restart_command
hook_ips = 204.232.175.64/27,192.30.252.0/22,127.0.0.1
hook_branch = master
hook_repository = GifQuick/GifQuick
restart_command = supervisorctl reload
redis-ip = 127.0.0.1
redis-port = 6379
google_analytics_id =
google_analytics_domain =
# Make sure you use the 120x600 "skyscraper" ad format if you want ads
# Leave it as "CHANGEME" to disable ads
adsense_client = CHANGEME
adsense_slot = CHANGEME
# Leave these as "changeme" to disable them
dwolla_id = changeme
flattr_id = changeme
coinbase_id = changeme
# Change these options to configure mandrill for sending daily reports to the admins of your instance
mandrill_api = changeme
admin_email = changeme@changeme.com
from_email = admin@mediacru.sh
# If you put the dev docs somewhere other than ./docs/, update this
docs_path = docs
[ratelimit-upload]
# Period is in seconds. Units in bytes. Default rate limit is 0.2ish GB per hour
period = 3600
units_per_period = 250000000
[ratelimit-feedback]
# Controls how frequently users can post feedback using the feedback tool on every page. Default is 5 times per day.
period = 86400
units_per_period = 5