How do I create my own Lemmy Serve?

JCreazy@midwest.social to Lemmy.World Announcements@lemmy.world – 13 points –

I've searched and it seems that information is limited. I have a mini PC in my office not doing anything and would like to make it into a proper Lemmy server. It seems a bit involved and while I'm technically inclined it's over my head. I already have a domain but I have absolutely no idea where to go from here.

13

You are viewing a single comment

If you are not familiar with docker, I suggest you learn it. Then follow this guide.

https://join-lemmy.org/docs/en/administration/install_docker.html

If you are planning on hosting from home I highly suggest that you use something like cloudflare tunnels. You are going to be advertising your instance to the fediverse, so you do not want your home ip exposed.

Use this to setup the cloudflare tunnel into a reverse proxy, then point the reverse proxy to you lemmy instance.

https://www.linuxserver.io/blog/zero-trust-hosting-and-reverse-proxy-via-cloudflare-swag-and-authelia

The only experience that I've had with docker is when I had it installed on my Synology NAS and was trying to run a Home Assistant container. I could not get it to work at all so instead I have a mini PC dedicated to just Home Assistant. I will read into cloudfare and revese proxy. Thanks for the info.

I would keep trying, once you get over the hump it's a total game changer.

Proxy and/or reverse proxy is where my understanding of pipes and tubes gets pretty scant. Is that cloudflare link similar to what I feel like I normally see set up with nginx? I want to eventually set it up so my server is accessible from outside my home network (watching Plex would be pretty neat while on the road in the RV), and I feel like a test Lemmy server would be good practice.

Is it normal practice? Maybe 50/50. A lot of self holsters will tell you to use a cloudflare tunnel no matter what. It does help weed out a lot of bots. If you open a port and look at the access log in nginx, you will see thousands of attempts daily. It's basically bots constantly scanning the ipv4 range fishing for common vulnerabilies. I cloudflare will filter a lot of that out.

Personally I use cloudflare, but only for Lemmy. My other hosted applications don't use it, it's too complicated (and cloudflare can see your data). I use it for Lemmy to mask my ip address.

For plex, I would just allows Plex to open port 32400 and use their setup. Plus, cloudflare could ban you for streaming through their tunnel. It violated their TOS.