Ticket #5608: mediagoblin.ini

File mediagoblin.ini, 2.3 KB (added by Ben Sturmfels, 5 years ago)
Line 
1# If you want to make changes to this file, first copy it to
2# mediagoblin_local.ini, then make the changes there.
3#
4# If you don't see what you need here, have a look at mediagoblin/config_spec.ini
5# It defines types and defaults so it's a good place to look for documentation
6# or to find hidden options that we didn't tell you about. :)
7
8# To change the directory you should make sure you change the
9# directory in paste.ini and/or your webserver configuration.
10#
11# [DEFAULT]
12# data_basedir = "/var/lib/mediagoblin"
13
14[mediagoblin]
15direct_remote_path = /mgoblin_static/
16html_title = "Photos, Videos, Music @ NIL.mx"
17email_sender_address = "media@nil.mx"
18email_smtp_host = [redacted]
19email_smtp_port = 25
20email_smtp_user = media@nil.mx
21email_smtp_pass = [redacted]
22
23## Uncomment and change to your DB's appropiate setting.
24## Default is a local sqlite db "mediagoblin.db".
25## Don't forget to run `./bin/gmg dbupdate` after having changed it.
26# sql_engine = postgresql:///mediagoblin
27
28# Set to false to enable sending notices
29email_debug_mode = true
30
31# Set to false to disable registrations
32allow_registration = false
33
34# Set to false to disable the ability for users to report offensive content
35allow_reporting = false
36
37## Uncomment this to put some user-overriding templates here
38# local_templates = %(data_basedir)s/templates/
39
40## You can set your theme by specifying this (not specifying it will
41## use the default theme). Run `gmg assetlink` to apply the change.
42## The airy and sandyseventiesspeedboat theme comes with GMG; please
43## see the theming docs on how to install other themes.
44# theme = airy
45
46## If you want the terms of service displayed, you can uncomment this
47# show_tos = true
48
49user_privilege_scheme = "uploader,commenter,reporter"
50[storage:queuestore]
51base_dir = %(data_basedir)s/media/queue
52
53[storage:publicstore]
54base_dir = %(data_basedir)s/media/public
55base_url = /mgoblin_media/
56
57[celery]
58# Put celery stuff here
59broker_heartbeat = 20
60
61# Place plugins here, each in their own subsection of [plugins].
62# See http://docs.mediagoblin.org/siteadmin/plugins.html for details.
63[plugins]
64[[mediagoblin.plugins.geolocation]]
65[[mediagoblin.plugins.basic_auth]]
66[[mediagoblin.plugins.processing_info]]
67[[mediagoblin.media_types.image]]
68[[mediagoblin.media_types.video]]
69[[mediagoblin.media_types.audio]