Mastodon and S3/Minio
Solved
Mastodon
-
Hello! I'm trying to figure out how to get my cloudron Mastodon to use a Minio instance on another VPS.
Based on https://docs.joinmastodon.org/admin/optional/object-storage-proxy/, I see this:
At last, you'll want to make sure Mastodon is using your new proxy to generate file URLs. Edit your Mastodon's .env.production to add: S3_ALIAS_HOST=files.example.com
But the previous instructions seem to assume I'm using an nginx proxy for a Minio setup on the same machine as the Mastodon instance.
For my situation, would I simply just need to write
S3_ALIAS_HOST=ip:port/bucketname
Has anyone else successfully set this up? Thank you!
-
@scooke Look at this https://github.com/cybrespace/cybrespace-meta/blob/master/s3.md instead. The one you linked is for proxying object storage requests via mastodon for caching purposes. The variables you need are:
S3_ENABLED S3_BUCKET AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY S3_REGION S3_PROTOCOL S3_HOSTNAME
-
-