Advertisement
Guest User

Untitled

a guest
Sep 25th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. use Mix.Config
  2.  
  3. config :pleroma, Pleroma.Web.Endpoint,
  4. url: [host: "redacted.url", scheme: "https", port: 443],
  5. secret_key_base: "longstring"
  6.  
  7. config :pleroma, :instance,
  8. name: "instance name",
  9. email: "redacted.email",
  10. limit: 5000,
  11. registrations_open: true,
  12. dedupe_media: false
  13.  
  14. config :pleroma, :media_proxy,
  15. enabled: false,
  16. redirect_on_failure: true
  17. #base_url: "https://cache.pleroma.social"
  18.  
  19. # Configure your database
  20. config :pleroma, Pleroma.Repo,
  21. adapter: Ecto.Adapters.Postgres,
  22. username: "pleroma",
  23. password: "longstring",
  24. database: "pleroma_dev",
  25. hostname: "localhost",
  26. pool_size: 10
  27.  
  28. # Configure S3 support if desired.
  29. # The public S3 endpoint is different depending on region and provider,
  30. # consult your S3 provider's documentation for details on what to use.
  31. #
  32. # config :pleroma, Pleroma.Uploaders.S3,
  33. # bucket: "some-bucket",
  34. # public_endpoint: "https://s3.amazonaws.com"
  35. #
  36. # Configure S3 credentials:
  37. # config :ex_aws, :s3,
  38. # access_key_id: "xxxxxxxxxxxxx",
  39. # secret_access_key: "yyyyyyyyyyyy",
  40. # region: "us-east-1",
  41. # scheme: "https://"
  42. #
  43. # For using third-party S3 clones like wasabi, also do:
  44. # config :ex_aws, :s3,
  45. # host: "s3.wasabisys.com"
  46.  
  47.  
  48. # Configure Openstack Swift support if desired.
  49. #
  50. # Many openstack deployments are different, so config is left very open with
  51. # no assumptions made on which provider you're using. This should allow very
  52. # wide support without needing separate handlers for OVH, Rackspace, etc.
  53. #
  54. # config :pleroma, Pleroma.Uploaders.Swift,
  55. # container: "some-container",
  56. # username: "api-username-yyyy",
  57. # password: "api-key-xxxx",
  58. # tenant_id: "<openstack-project/tenant-id>",
  59. # auth_url: "https://keystone-endpoint.provider.com",
  60. # storage_url: "https://swift-endpoint.prodider.com/v1/AUTH_<tenant>/<container>",
  61. # object_url: "https://cdn-endpoint.provider.com/<container>"
  62. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement