| 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 | email_sender_address = "notice@localhost"
|
|---|
| 17 |
|
|---|
| 18 | ## Uncomment and change to your DB's appropiate setting.
|
|---|
| 19 | ## Default is a local sqlite db "mediagoblin.db".
|
|---|
| 20 | ## Don't forget to run `./bin/gmg dbupdate` after having changed it.
|
|---|
| 21 | # sql_engine = postgresql:///mediagoblin
|
|---|
| 22 |
|
|---|
| 23 | # Set to false to enable sending notices
|
|---|
| 24 | email_debug_mode = false
|
|---|
| 25 |
|
|---|
| 26 | # Set to false to disable registrations
|
|---|
| 27 | allow_registration = false
|
|---|
| 28 |
|
|---|
| 29 | # Set to false to disable the ability for users to report offensive content
|
|---|
| 30 | allow_reporting = false
|
|---|
| 31 |
|
|---|
| 32 | ## Uncomment this to put some user-overriding templates here
|
|---|
| 33 | # local_templates = %(data_basedir)s/templates/
|
|---|
| 34 |
|
|---|
| 35 | ## You can set your theme by specifying this (not specifying it will
|
|---|
| 36 | ## use the default theme). Run `gmg assetlink` to apply the change.
|
|---|
| 37 | ## The airy and sandyseventiesspeedboat theme comes with GMG; please
|
|---|
| 38 | ## see the theming docs on how to install other themes.
|
|---|
| 39 | # theme = airy
|
|---|
| 40 |
|
|---|
| 41 | ## If you want the terms of service displayed, you can uncomment this
|
|---|
| 42 | # show_tos = true
|
|---|
| 43 |
|
|---|
| 44 | user_privilege_scheme = "uploader,commenter,reporter"
|
|---|
| 45 | [storage:queuestore]
|
|---|
| 46 | base_dir = %(data_basedir)s/media/queue
|
|---|
| 47 |
|
|---|
| 48 | [storage:publicstore]
|
|---|
| 49 | base_dir = %(data_basedir)s/media/public
|
|---|
| 50 | base_url = /mgoblin_media/
|
|---|
| 51 |
|
|---|
| 52 | [celery]
|
|---|
| 53 | # Put celery stuff here
|
|---|
| 54 |
|
|---|
| 55 | # Place plugins here, each in their own subsection of [plugins].
|
|---|
| 56 | # See http://docs.mediagoblin.org/siteadmin/plugins.html for details.
|
|---|
| 57 | [plugins]
|
|---|
| 58 | [[mediagoblin.plugins.geolocation]]
|
|---|
| 59 | [[mediagoblin.plugins.basic_auth]]
|
|---|
| 60 | [[mediagoblin.plugins.processing_info]]
|
|---|
| 61 | [[mediagoblin.media_types.image]]
|
|---|