Hacker News new | ask | show | jobs
by lurking_swe 586 days ago
i’ve found it pretty easy to run my “homelab” with docker compose. Traefik binds to port 80 and 443, and all my apps are accessible behind the proxy.

Docker desktop can be configured to start on login. For keeping the mac awake “forever”, i’d suggest the Amphetamine app.

I also appreciate that you can easily use the macOS screen sharing app to login and manage the mac from a laptop.

2 comments

That certainly works, but Docker will use a Linux VM, right?
yes, unfortunately. Doesn’t really matter for the web apps i’m hosting, but I could see it being an issue for certain apps/workloads!

I suppose you could try running Asashi Linux in the future? I think it only works on m1 and m2 mac’s at the moment but don’t quote me on that.

Orbstack might improve energy consumption for your setup, they are applying some clever hacks.
Yes unfortunately there’s no Linux that runs on the metal on an M4 yet.
Yes, docker desktop uses a Linux VM to run the containers.
> For keeping the mac awake “forever”, i’d suggest the Amphetamine app.

macOS has a built-in console command for that: `caffeinate` [1]

1. https://ss64.com/mac/caffeinate.html