mediagoblin.example.ini 2.0 KB

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