Advertisement
Guest User

Untitled

a guest
Jun 20th, 2016
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  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.  
  17. ## Uncomment and change to your DB's appropiate setting.
  18. ## Default is a local sqlite db "mediagoblin.db".
  19. ## Don't forget to run `./bin/gmg dbupdate` after having changed it.
  20. sql_engine = sqlite:////var/lib/mediagoblin/mediagoblin.db
  21.  
  22. # Set to false to enable sending notices
  23. email_debug_mode = false
  24. email_smtp_host = smtp.sendgrid.net
  25. email_smtp_port = 25
  26. email_smtp_user = selfhost
  27. email_smtp_pass = znjJ5A8H5BNrb5C4
  28. email_sender_address = "jonathan.schemoul@gmail.com"
  29.  
  30. # Set to false to disable registrations
  31. allow_registration = true
  32.  
  33. # Set to false to disable the ability for users to report offensive content
  34. allow_reporting = true
  35.  
  36. ## Uncomment this to put some user-overriding templates here
  37. # local_templates = %(data_basedir)s/templates/
  38.  
  39. ## You can set your theme by specifying this (not specifying it will
  40. ## use the default theme). Run `gmg assetlink` to apply the change.
  41. ## The airy and sandyseventiesspeedboat theme comes with GMG; please
  42. ## see the theming docs on how to install other themes.
  43. # theme = airy
  44.  
  45. ## If you want the terms of service displayed, you can uncomment this
  46. # show_tos = true
  47.  
  48. user_privilege_scheme = "uploader,commenter,reporter"
  49. [storage:queuestore]
  50. base_dir = %(data_basedir)s/media/queue
  51.  
  52. [storage:publicstore]
  53. base_dir = %(data_basedir)s/media/public
  54. base_url = /mgoblin_media/
  55.  
  56. [celery]
  57. # Put celery stuff here
  58.  
  59. # Place plugins here, each in their own subsection of [plugins].
  60. # See http://docs.mediagoblin.org/siteadmin/plugins.html for details.
  61. [plugins]
  62. [[mediagoblin.plugins.geolocation]]
  63. [[mediagoblin.plugins.basic_auth]]
  64. [[mediagoblin.media_types.image]]
  65. [[mediagoblin.media_types.video]]
  66. [[[skip_transcode]]]
  67. mime_types = video/webm, video/ogg, video/mp4, audio/ogg, application/ogg, application/x-annodex
  68. container_formats = Matroska, Ogg, ISO MP4/M4A
  69. video_codecs = VP8 video, VP9 video, Theora, H.264, H.264 / AVC, MPEG-4 video
  70. audio_codecs = Vorbis, MPEG-4 AAC
  71. dimensions_match = false
  72. [[mediagoblin.media_types.audio]]
  73. [[mediagoblin.media_types.pdf]]
  74. [[mediagoblin.plugins.html5-multi-upload]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement