Oh yeah! Before I set up my server, I was debating whether or not I should use Nix over Debian. The reason I stuck with Debian was because it was what I am most familiar with. I will have a look into the Nix package and see how that goes. In fact, I probably don't need Docker since what isn't on Nix?

Once I set it up in a VM for testing I'll reply to this comment and see if it is a good idea

1

I want to install Nextcloud on Docker, and Apache on apt. I just feel that it will make it easier to set up my certificates using Cloudflare, and make quick configuration changes. It also helps because I have many other docker containers running at the same time. (each other container will have their own certificate file, too). I don't like the 'all in one' containers, I'd prefer to just set everything up myself so I know exactly how works.

Or are there any other ways of setting it up? Apart from snap because I hate proprietary software because the whole reason I'm doing this is to get away from it.

Yep thats exactly what I'm doing! While I was learning ASP.NET, I decided to deploy the website using Docker and docker compose since I figured it would be easier to do than using the CLI, so I already had some experience with that.

I'm glad to know that I don't have to upgrade anything. I was just a bit worried that having a million different docker containers would be a bit of a strain on the CPU at least. Now that I think about it, I'm the only one using the server so any extra components will be pretty pointless.

Thanks for your quick response! I guess I was over complicating things a bit more than I should have.

20

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!___

DiseasedFinger

joined 1 year ago