| 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 = "GMG_PATH_TOKEN" |
| 13 | |
| 14 | [mediagoblin] |
| 15 | direct_remote_path = /mgoblin_static/ |
| 16 | email_sender_address = "GMG_SENDER_TOKEN" |
| 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.media_types.image]] |
| 61 | [[mediagoblin.media_types.video]] |
| 62 | auto_play = False |
| 63 | [[[skip_transcode]]] |
| 64 | audio_codecs = Vorbis, |
| 65 | container_formats = Matroska, Ogg |
| 66 | mime_types = video/webm, application/ogg |
| 67 | dimensions_match = False |
| 68 | video_codecs = VP8 video, Theora |
| 69 | [[mediagoblin.media_types.pdf]] |
| 70 | [[mediagoblin.plugins.libreplanet]] |
| 71 | [[mediagoblin.plugins.piwik]] |
| 72 | PIWIK_DOMAIN = '*.media.libreplanet.org' |
| 73 | PIWIK_LOCATION = 'piwik.fsf.org' |
| 74 | PIWIK_SITEID = 11 |