A basic container for a private MediaGoblin media server.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mediagoblin_local.ini.template 2.4KB

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