forked from mirrors/akkoma
sample config: add S3 public endpoint option
This commit is contained in:
parent
86c007ddd2
commit
03c35e579b
1 changed files with 6 additions and 3 deletions
|
@ -25,18 +25,21 @@ config :pleroma, Pleroma.Repo,
|
||||||
hostname: "localhost",
|
hostname: "localhost",
|
||||||
pool_size: 10
|
pool_size: 10
|
||||||
|
|
||||||
# Configure S3 support if desired:
|
# Configure S3 support if desired.
|
||||||
|
# The public S3 endpoint is different depending on region and provider,
|
||||||
|
# consult your S3 provider's documentation for details on what to use.
|
||||||
#
|
#
|
||||||
# config :pleroma, Pleroma.Upload,
|
# config :pleroma, Pleroma.Upload,
|
||||||
# use_s3: true,
|
# use_s3: true,
|
||||||
# bucket: "some-bucket"
|
# bucket: "some-bucket",
|
||||||
|
# public_endpoint: "https://s3.amazonaws.com"
|
||||||
#
|
#
|
||||||
# Configure S3 credentials:
|
# Configure S3 credentials:
|
||||||
# config :ex_aws, :s3,
|
# config :ex_aws, :s3,
|
||||||
# access_key_id: "xxxxxxxxxxxxx",
|
# access_key_id: "xxxxxxxxxxxxx",
|
||||||
# secret_access_key: "yyyyyyyyyyyy",
|
# secret_access_key: "yyyyyyyyyyyy",
|
||||||
# region: "us-east-1",
|
# region: "us-east-1",
|
||||||
# scheme: "https://",
|
# scheme: "https://"
|
||||||
#
|
#
|
||||||
# For using third-party S3 clones like wasabi, also do:
|
# For using third-party S3 clones like wasabi, also do:
|
||||||
# config :ex_aws, :s3,
|
# config :ex_aws, :s3,
|
||||||
|
|
Loading…
Reference in a new issue