Top
Best
New

Posted by finnlab 4/1/2025

Self-Hosting like it's 2025(kiranet.org)
221 points | 229 commentspage 3
zephyreon 4/1/2025|
I host tons of web-facing apps behind a reverse proxy. I used to have it all running in a swarm cluster with several underlying vms but decided to move everything to Unraid a while back for simplicity.

Would highly recommend.

https://unraid.net

raphinou 4/1/2025|
As mentioned in another comment, I'm currently still happy with (single node) Docker Swarms (with the reverse proxy as described on https://dockerswarm.rocks/ ). I like that I can basically use the docker compose files published by a lot of project to deploy. How does Unraid compare in your experience?

And I like that I can deploy images which basically don't have any requirement to be deployable to Docker Swarm. Is that also the case with Unraid?

drKarl 4/1/2025||
Lol that's hilarious, the url resolves to https://localhost:1313/posts/self-hosting-like-its-2025/, how ironic!!
finnlab 4/1/2025|
tried to push an update in production like a true self-hoster...works now
captaincrunch 4/1/2025||
It sure is self hosted! https://localhost:1313/posts/self-hosting-like-its-2025/
captaincrunch 4/1/2025|
April fools I guess!!
oliwary 4/1/2025||
Does anyone have any experience with coolify? https://coolify.io/ I am considering switching the hosting of my online games to it.
rullopat 4/1/2025||
What about Kamal? https://kamal-deploy.org/ Did anybody here use it for anything that is not a Ruby on Rails app?
echoperkins 4/1/2025||
Yes, I have been using it and really enjoying it for deploying web apps. So far I have deployed web apps using: * fastapi (python) * Django ninja (python) * ghost cms (node)

I have been writing up my thoughts (and an example): https://andrewperkins.com.au/kamal/

The ability to deploy to both cloud servers and on-premises is a big win as I often work on projects that have a mix of both.

As the sibling comment says, it’s focussed on web servers. In my use case that is fine!

rullopat 4/1/2025||
Great! Are you also deploying DB servers or any other kind of additional servers that are dependencies of those webapps?
echoperkins 4/2/2025||
Yes, I am deploying mysql with ghost

``` accessories:

  db:
    image: mysql:8.0
    host: 170.64.156.161
    env:
      secret:
        - MYSQL_ROOT_PASSWORD
    options:
      restart: always
    directories:
      - data:/var/lib/mysql
```

For my other services I am just using sqlite combined with a volume for persistence (managed by kamal)

MortyWaves 4/1/2025||
The thing that puts me off is its seemingly heavy focus on “web apps”. I have a bunch of services I either use or wrote myself and only a handful have anything to do with the web.
tvaughan 4/1/2025||
For our startup, I decided we’d self-host as much as possible. We have one server in our office with Traefik for “firewall” and SSL termination, and our backend services are handled by Incus. Our only paid services are Tailscale and Postmark. We run things like forgejo and mattermost for our internal development work, as well as things like elasticsearch and kibana for observability into our products (100ish embedded devices distributed globally). So far so good.
candiddevmike 4/1/2025||
If any self hosters are burnt out by the state of config management tools and YAML, consider giving Etcha a shot (https://etcha.dev).

It's stateful (cleans up things when they're no longer in your config), procedural (you control the flow and can trigger things as needed), and supports flexible deployment models (push or pull). Full disclosure, I created it and use it across my business and personal devices.

simoncion 4/1/2025|
> It's started (cleans up things when they're no longer in your config)...

Would you please call this something else?

"It automatically reconciles", perhaps? I know that a multi-word phrase isn't nearly as snappy, but not only are "it's started" and "started" overloaded with a bunch of meanings, approximately zero of them mean what you want them to mean in this new context.

candiddevmike 4/1/2025||
Sorry, autocorrect changed stateful to started.
simoncion 4/1/2025||
Ye olde autodefect makes fools of us all, eventually.

(As does the ever-present HN urge to downvote things for no comprehensible reason. Seriously, why the fuck would someone downvote an honest explanation for a typo? Animals, I guess.)

dismalpedigree 4/1/2025||
Proxmox on a NUC. Separate RPI running HaProxy to route requests. Public 443 forwards to haproxy. All on separate vlan from home network. Router allows ssh across vlan for specific IPs. Ssh only available from the specific IPs. Some of the VPS on proxmox run Nebula protocol (like tailscale but self hosted) and there is a lighthouse on a $2 VPS. This allows me to access specific resources only from mesh network when away from home.
martin_a 4/1/2025||
Still "rsync"ing the result of "hugo build" to a subfolder on a shared webhost. Works like a charm, hope it will do so forever. :-D
finnlab 4/1/2025|
I'll eventually set this up to automatically deploy from git, don't worry haha
martin_a 4/1/2025||
I wrote a deploy.sh to help me with the parameters, almost feels like automatic deployment... ;-)
TimPC 4/1/2025|
I think the reasons not to self-host are the difficulty of implementing any type of dynamic scaling. For instance when clicking on this article I get a result that their site is down. Instead of benefiting from the traffic their engagement got them, they are crashing.
More comments...