Why You Should Self-Host Everything
Why You Should Self-Host Everything
In today's digital age, it seems like everything is subscription-based. If you're not paying for a...
Why You Should Self-Host Everything
In today's digital age, it seems like everything is subscription-based. If you're not paying for a...
You're viewing a single thread.
Someday I hope we have a server technology that's platform-agnostic and you can just add things like "Minecraft Server" or "Email Server" to a list and it'll install, configure, and host everything in the list with a sensible default config. I imagine you could make the technology fairly easily, although keeping up with new services, versions, security updates, etc. would be quite the hassle. But that's what collaboration is for!
As someone who has had a career in hosting: good luck.
Don’t forget backups, logging, monitoring, alerting on top of security updates, hardware failure, power outages, OS updates, app updates, and tech being deprecated and obsolete at a rapid pace.
I’m in favor of a decentralized net with more self-hosting, but that requires more education and skill. You can’t automate away all the unpleasant and technical bits.
But if we hide the complexity, surely we won't ever have to deal with it! /s
You can’t automate away all the unpleasant and technical bits.
But it's our job to try
Honestly at this point that is docker and docker compose.
As to what to run it on that very much depends on preference. I use a proxmox server but it could just as easily be pure Debian. A basic webui like cockpit can make system management operations a bit more simplified.
Docker is in theory nice, if it works. Docker doesn't run on my computer(i have no fucking clue why). Every time I try to do anything I get the Error "Unknown Server: OS" also there is literally nothing you can find online about how to Fux this problem.
What computer and OS do you have that can't run docker? You can run a full stack of services on a random windows laptop as easily as a dedicated server.
Edit
Autocorrect messing with OS.
I use EndeavourOS, but had the same problem on Arch.
Hardware wise I have an 75800x, a RX 6700XT and 32GB 3200mhz Ram.
The weird thing is, that some time ago I was actually able to use docker, but now I'm not.
That doesn't make any sense to me. It can be installed directly from pacman. It may be something silly like adding docker to your user group. Have you done something like below for docker?
sudo pacman -Syu
sudo pacman -S docker
undefined
sudo systemctl enable docker.service sudo systemctl start docker.service
sudo usermod -aG docker $USER
docker --version
If you get the above working docker compose is just
sudo pacman -S docker-compose
I didnt start docker and didn't add it to my user group. Maybe this will fix it.
sudo pacman -S docker-compose
I did all the steps you mentioned and now it works(at least if use sudo to run the commands).
I thought it would. If it still requires sudo to run it is probably just docker wanting your user account added to the docker group. If the "docker" group doesn't exist you can safely create it.
You will likely need to log out and log back in for the system to recognize the new group permissions.
Unraid does this via docker. It's amazing. You can do this live and on the fly.
Sounds kinda like NixOS, although that's not platform-agnostic.
Funnily enough I do use NixOS for my server! It's not quite what I was describing but it does allow me to host easily.
Cloudron does that,not for free, though. But cheap