mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
Update README and config
This commit is contained in:
parent
a1238222e2
commit
47a53b6990
3 changed files with 99 additions and 0 deletions
|
|
@ -21,6 +21,26 @@ username = "test@example.com"
|
|||
password = "password123"
|
||||
tls = true
|
||||
|
||||
[media]
|
||||
# Can be "s3" or "local", where "local" uploads the file to the local filesystem
|
||||
backend = "s3" # NOT IMPLEMENTED
|
||||
# Whether to check the hash of media when uploading to avoid duplication
|
||||
deduplicate_media = true # NOT IMPLEMENTED
|
||||
|
||||
[media.conversion]
|
||||
convert_images = false # NOT IMPLEMENTED
|
||||
# Can be: "jxl", "webp", "avif", "png", "jpg", "gif"
|
||||
convert_to = "webp" # NOT IMPLEMENTED
|
||||
|
||||
[s3]
|
||||
# Can be left blank if you don't use the S3 media backend
|
||||
endpoint = "https://s3-us-west-2.amazonaws.com"
|
||||
access_key = ""
|
||||
secret_access_key = ""
|
||||
region = "us-west-2"
|
||||
bucket_name = "lysand"
|
||||
public_url = "https://cdn.example.com"
|
||||
|
||||
[email]
|
||||
# Sends an email to moderators when a report is received
|
||||
# NOT IMPLEMENTED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue