45

I currently have a server, a Dell T310 with an SSD in it and 12Gig of ram (weird config, I know I messed up but it works fine so I can’t be bothered to change that for now), with all my dockers running in it.

It runs mostly fine, with Debian 11, a VPN so that I can block public ssh and allow it only on the VPN network, an nginx proxy to have services like a forgejo and a music library (ampache).

However it can’t run a Minecraft server with more than a single person on it without stuttering ; so I was considering changing it maybe next year, after more than 3 years of services, for something beefier but also consuming less W/h (current consumption is 80W), and since I already have a Mac for work I was wondering how suitable a Mac Mini M1/M2 would be for a homelab?

Does anyone have such a configuration and how does it work for you? Any hurdle that you should be aware of?

you are viewing a single comment's thread
view the rest of the comments
[-] Ch4s3r@lemmy.world 8 points 1 week ago* (last edited 1 week ago)

Got an M2 mini and at first had it running with MacOS and k3s (mini kubernetes). What annoyed me a bit was that if you restart you need to login to get kubernetes/docker starting up again. Also you cannot start docker desktop from cli, but need GUI access via apple remote desktop. You could remove the login but then your setup is completely unsecured against local access. After waiting a bit asahi linux supported the M2 mini and I gave it a try. It's a fedora linux, which I'm not super familiar with, but installing it was quite smooth and installing k3s was also easy and I'm only really using the server via ssh tunnel port forwarding and kubectl which is fine for me. It even uses less watt in this config what I remember after measuring. Restarting also starts k3s without login as with any linux. So quite happy with this config.

this post was submitted on 22 Jun 2024
45 points (94.1% liked)

Selfhosted

37715 readers
552 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