Mastodon and S3/Minio
-
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.comBut 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/bucketnameHas anyone else successfully set this up? Thank you!
-
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.comBut 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/bucketnameHas 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 -
@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 -
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login