63
Thank you for all the help! (lm.ainyataovi.net)

Hi there, I was intrigued by the idea of self-hosting my social media accounts, but was more or less a complete noob with all things hosting. However, with the help of the community here (and quite a few hours spent on it) I finally have a working setup! Mastodon, Matrix, Lemmy, Nextcloud all self-hosted behind Nginx Proxy Manager.

Google can find a lot of answers, but sometimes some really specific input is needed - which you guys have provided over the last couple of weeks - so I just wanna say thank you for that!

top 20 comments
sorted by: hot top controversial new old
[-] Eris@lemmy.world 10 points 1 year ago

Congrats on your first setup. I would recommend making sure you have fail2ban set up and test it. If you're keeping anything important, get backups going.. I worry for new self-hosters that may have a security issue and lose their hard work to a vulnerability.

[-] Shiimiish@lm.ainyataovi.net 6 points 1 year ago

I have fail2ban running as well, didn‘t mention it in the op. Also closed all ports beside 80 and 443, which are routed through my NPM proxy. SSH is allowed, but login only with ssh key, no pw authentication.

So far it‘s running well, but I expect things to break when I‘ll need to update parts of it. I have a snapshot from which i can reinstall, but recurring backups need yet to be set up.

[-] redcalcium@c.calciumlabs.com 2 points 1 year ago* (last edited 1 year ago)

Sounds great! By the way, if you're using docker, be careful not to accidentally have a container open a port on all interface. Even if you have a firewall configured on the machine, sometimes docker can punch a hole without you knowing. Might be a good idea to run a port scan from an external computer from time to time just to makes sure no unwanted open ports.

That’s an impressive stack you were able to build. How long did it take you?

[-] Shiimiish@lm.ainyataovi.net 3 points 1 year ago

I spent a lot of time googling and on youtube, to get a basic understanding for what I was trying to achieve, 2 weeks of after-work time at least. If I should guess 40-50 hours in total. Getting a single piece to work, by following a tutorial can be easy but to get all the things working together was a struggle. Once I had a better grasp on what a reverse proxy is and how docker containers work together in networks, pieces started to fall into place.

[-] randomguy2323@lemmy.fmhy.ml 2 points 1 year ago

Where did you host your Matrix server? I was using Hetzner but they block port 25 for email.

[-] Shiimiish@lm.ainyataovi.net 2 points 1 year ago

I use Synapse as Matrix server and Element as client. It doesn't need port 25 (8008 and 8448 are needed in my setup). On Lemmy and Mastodon I configured outgoing mail using smtp via my existing mail hoster, so I don't send mail from my own server. Also, all googling I did said to stay away from selfhosting email, as it is a hassle not to be immediately blocked as a spam mail server ..

[-] randomguy2323@lemmy.fmhy.ml 1 points 1 year ago

So yes I got synapse installed and I use element as a client but when I tried to register an account it wants to send me an email from my own server and since port 25 is blocked.

[-] Shiimiish@lm.ainyataovi.net 1 points 1 year ago

You should be able to configure this differently. Either switch of the confirmation mails completely or use the email credentials from another server.

[-] randomguy2323@lemmy.fmhy.ml 1 points 1 year ago

I will try thank you

[-] mfat 1 points 1 year ago

Does matrix support video calls? Our family uses Google Meet for group calls. Been thinking of a self-hosted alternative.

[-] Shiimiish@lm.ainyataovi.net 3 points 1 year ago

I use Synapse as the Matrix server and Element as client on desktop and mobile. It does support video calls, but so far I only tested it for a minute.

[-] 2xsaiko@discuss.tchncs.de 2 points 1 year ago

I don't think it does, but take a look at Jitsi Meet! It's very good

[-] russjr08@outpost.zeuslink.net 3 points 1 year ago

You can get the best of both worlds actually. Matrix supports doing video calls through Jitsi Meet!

I want to say that for 1-to-1 calls it does video natively, and for group video calls it uses Jitsi Meet.

[-] 2xsaiko@discuss.tchncs.de 2 points 1 year ago

Oh, very cool!

[-] pete@social.cyano.at 2 points 1 year ago

It's pretty solid for 1:1 calls, and they are currently working on Matrix's own conferencing protocol/solution.
But until then you could set up a Jitsi Meet instance along with Matrix to run multiple user calls.

[-] pete@social.cyano.at 1 points 1 year ago

Plus, Jitsi Meet will allow you publicly available video conferencing which is really nice to have on its own. ;-)

[-] mfat 1 points 1 year ago

I once tried. Too difficult for my technical knowledge. Or maybe the server was not powerful enough. Just 1 GB of RAM.

[-] static09@lemmy.world 1 points 1 year ago

I'm thinking of starting something similar. What kind of specs are you using for your host?

I'm concerned about RAM and disk space for this in my personal setup

[-] Shiimiish@lm.ainyataovi.net 2 points 1 year ago

I started with the smallest offer available and later upgraded to the second smallest, which now has 4GB RAM. I also have rented additional diskspace, so that I have 30GB now. RAM and CPU are now certainly fine, but I don't know yet about disk space. I read that Lemmy/Mastodon can eat up space quickly and I have currently used up about half of my disk space.

load more comments
view more: next ›
this post was submitted on 16 Jul 2023
63 points (97.0% liked)

Selfhosted

39677 readers
399 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS