mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 06:58:58 +00:00
sample config: show how amazon s3 support is activated, including third-party clones like wasabi
This commit is contained in:
parent
4e4b1016ab
commit
e95d958b52
|
@ -12,7 +12,9 @@ config :pleroma, Pleroma.Repo, types: Pleroma.PostgresTypes
|
||||||
|
|
||||||
config :pleroma, Pleroma.Upload,
|
config :pleroma, Pleroma.Upload,
|
||||||
uploads: "uploads",
|
uploads: "uploads",
|
||||||
strip_exif: false
|
strip_exif: false,
|
||||||
|
use_s3: false,
|
||||||
|
s3_bucket: nil
|
||||||
|
|
||||||
config :pleroma, :emoji, shortcode_globs: ["/emoji/custom/**/*.png"]
|
config :pleroma, :emoji, shortcode_globs: ["/emoji/custom/**/*.png"]
|
||||||
|
|
||||||
|
|
|
@ -24,3 +24,20 @@ config :pleroma, Pleroma.Repo,
|
||||||
database: "pleroma_dev",
|
database: "pleroma_dev",
|
||||||
hostname: "localhost",
|
hostname: "localhost",
|
||||||
pool_size: 10
|
pool_size: 10
|
||||||
|
|
||||||
|
# Configure S3 support if desired:
|
||||||
|
#
|
||||||
|
# config :pleroma, Pleroma.Upload,
|
||||||
|
# use_s3: true,
|
||||||
|
# bucket: "some-bucket"
|
||||||
|
#
|
||||||
|
# Configure S3 credentials:
|
||||||
|
# config :ex_aws, :s3,
|
||||||
|
# access_key_id: "xxxxxxxxxxxxx",
|
||||||
|
# secret_access_key: "yyyyyyyyyyyy",
|
||||||
|
# region: "us-east-1",
|
||||||
|
# scheme: "https://",
|
||||||
|
#
|
||||||
|
# For using third-party S3 clones like wasabi, also do:
|
||||||
|
# config :ex_aws, :s3,
|
||||||
|
# host: "s3.wasabisys.com"
|
||||||
|
|
Loading…
Reference in a new issue