Hi,

I want to self-host my own web server for nextcloud, jellyfin, gittea, and a bunch of other things to move away from big tech. I’m planning on having a VM for each of those apps, and running each of them in docker. I could then use Apache or Nginx to access it from outside my network. I’ve looked into virtual machines and found that QEMU would be the best option, especially for using the CLI. How would your recommend setting it up?

I ask this because I don’t want my server being used in some kind of botnet or some shit like that. I don’t think that will happen, but I’d prefer to just employ good practices to begin with just in case. Is it even worthwhile having a virtual machine for each of those services anyway?

Keep in mind that my PC I’m using is scrapped from spare parts with an R5 3600 and 16GB of memory. If I need to upgrade it I’m happy to get a bit more, but it shouldn’t be an issue.

This is also my first post on programming.dev. I’m not sure if it is a good place to post this on but hopefully there are some people

Thanks!___

  • 𝘋𝘪𝘳𝘬
    link
    fedilink
    21 year ago

    Why use VMs if you want to use Docker anyway? What I recently did, was dockerizing all of my selfhosted stuff and use Nginx Proxy Manager to run and configure a reverse proxy listening on ports 443 and 80 and just forward to the ports exposed by the containers.

    My home server is a “mini PC” from 2018 with 1 terabyte SSD and 4 gigabytes of RAM and an Intel Celeron J3455. I’m currently running 7 containers.