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]
|
---|
15 | direct_remote_path = /mgoblin_static/
|
---|
16 | html_title = "Photos, Videos, Music @ NIL.mx"
|
---|
17 | email_sender_address = "media@nil.mx"
|
---|
18 | email_smtp_host = [redacted]
|
---|
19 | email_smtp_port = 25
|
---|
20 | email_smtp_user = media@nil.mx
|
---|
21 | email_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
|
---|
29 | email_debug_mode = true
|
---|
30 |
|
---|
31 | # Set to false to disable registrations
|
---|
32 | allow_registration = false
|
---|
33 |
|
---|
34 | # Set to false to disable the ability for users to report offensive content
|
---|
35 | allow_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 |
|
---|
49 | user_privilege_scheme = "uploader,commenter,reporter"
|
---|
50 | [storage:queuestore]
|
---|
51 | base_dir = %(data_basedir)s/media/queue
|
---|
52 |
|
---|
53 | [storage:publicstore]
|
---|
54 | base_dir = %(data_basedir)s/media/public
|
---|
55 | base_url = /mgoblin_media/
|
---|
56 |
|
---|
57 | [celery]
|
---|
58 | # Put celery stuff here
|
---|
59 | broker_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]
|
---|