Sharing my Fly Templates: Minio, Mattermost, Directus, SFTPGo

Finally got a chance to build proper templates from all of the Fly apps I’ve built.

Wanted to share them here to get feedback and hopefully help others.

Minio
My updated version built from the original Fly AppKata. Added my notes for how I create public buckets.

SFTPGo
SFTPGo is amazing and my favorite way to run FTP or SFTP servers (among other things). Shared my initial config.

You can configure your storage to be backed by a S3 bucket which makes this even more useful.

Mattermost
I hate paying the Slack Tax - so I’ve started using Mattermost. Runs great and it’s easy to work with.

Here’s my repo for a ChatGPT Bot on Mattermost hosted on Fly Machines as well.

Directus
I use Directus to provide a self-hosted API that has a nice admin panel for users to log into. Throw a Next.js Website in front of this thing and you’ve got a pretty flexible stack.

Hope it helps a few people! Contributions welcome.

5 Likes

Hi, thank you for sharing your set up , this is very useful.

But I find out after I use outlook for smtp mail in mattermost hosted on fly using your setting. The test email can be send successfully and receive successfully in gmail. But any notification cannot be receive in gmail. In my outlook mail, it shown in the sent item.

I suspect this is related to SSL related, as those notification mail include links to my mattermost instance. But at the same time the link should be safe as it is under *.fly.dev

May I know how did you handle the email notification part. Thanks!

After investigation, Outlook wont send out email with “weird link”, I would send for my case, are those mattermost email with html and hyper link to xxxxooo.fly.dev

Using gmail for SMTP solve the problem

reference : outlook won’t send emails with links in them