diff options
author | Thurloat <thurloat@gmail.com> | 2018-08-28 22:39:33 -0300 |
---|---|---|
committer | Thurloat <thurloat@gmail.com> | 2018-08-28 22:39:33 -0300 |
commit | ab9e5d64d6dc6911dadac7219d38f3749971f53c (patch) | |
tree | b514cdbfee1ec0c4b131f549a371cfb4a5644d92 /lib | |
parent | 2ff25ac0ceb98f2ee1c803aeb8aecc112e335877 (diff) | |
download | pleroma-ab9e5d64d6dc6911dadac7219d38f3749971f53c.tar.gz |
add a sample swift config
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mix/tasks/sample_config.eex | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/mix/tasks/sample_config.eex b/lib/mix/tasks/sample_config.eex index 2acf35ed9..3b4953cda 100644 --- a/lib/mix/tasks/sample_config.eex +++ b/lib/mix/tasks/sample_config.eex @@ -44,3 +44,21 @@ config :pleroma, Pleroma.Repo, # For using third-party S3 clones like wasabi, also do: # config :ex_aws, :s3, # host: "s3.wasabisys.com" + + +# Configure Openstack Swift support if desired. +# +# Many openstack deployments are different, so config is left very open with +# no assumptions made on which provider you're using. This should allow very +# wide support without needing separate handlers for OVH, Rackspace, etc. +# +# config :pleroma, Pleroma.Uploaders.Swift, +# container: "some-container", +# username: "api-username-yyyy", +# password: "api-key-xxxx", +# tenant_id: "<openstack-project/tenant-id>", +# auth_url: "https://keystone-endpoint.provider.com", +# storage_url: "https://swift-endpoint.prodider.com/v1/AUTH_<tenant>/<container>", +# object_url: "https://cdn-endpoint.provider.com/<container>" +# + |