I use Linux as desktop since 1997: I love gaming using proton when possibile. My servers are Debian/ Ubuntu; KVM and docker are my friends. I like to build RPI virtual servers and containers. I’m an ham radio operator with call sign IZ5WGA.

  • 2 Posts
  • 11 Comments
Joined 9 months ago
cake
Cake day: March 19th, 2024

help-circle








  • I don’t get the question… Docker is awesome for developing, but to put things on production too. It just avoids you the hassle of configuring a virtual machine / server from scratch since you can use prebuilt minimal images of the software you need. If you get in trouble you can restore things easier than on a whole compromised system. An update consists in the vast majority of times in changing a tag inside a docker-compose.yaml file. You have resource optimisation vs virutal machines, and so on. I don’t use docker to develop at all, I use it for production. And when you don’t need the service you installed anymore, you can just delete it and the system stays clean wihtout orphan files.


  • @AlexPewMaster@lemmy.zip I’m in your situation. At the moment on my RPI 5 I’m hosting (via docker) the followings:

    • lemmy
    • mastodon
    • gotosocial
    • peertube
    • pixelfed
    • grav CMS
    • matrix homeserver (synapse)
    • gitea
    • nextcloud And outside docker
    • teleport cluster
    • nginx for some reverse proxy
    • minecraft java 1.20.1 server

    For the sake of clarity, here is my docker ps -a | wc -l

    cyberpingu@vega:~ $ docker ps -a | wc -l
    36
    cyberpingu@vega:~ $ 
    

    Almost everything is behind a reverse proxy (on another machine, a rpi4 with KVM) with an argo tunnel. And again

    top - 10:38:34 up 9 days, 14:33, 14 users,  load average: 1.06, 0.50, 0.34
    Tasks: 544 total,   1 running, 543 sleeping,   0 stopped,   0 zombie
    %Cpu0  :  2.0 us,  2.0 sy,  0.0 ni, 96.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st 
    %Cpu1  :  1.3 us,  0.7 sy,  0.3 ni, 97.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st 
    %Cpu2  :  2.6 us,  1.3 sy,  0.0 ni, 95.4 id,  0.3 wa,  0.0 hi,  0.3 si,  0.0 st 
    %Cpu3  :  2.7 us,  0.7 sy,  0.0 ni, 96.0 id,  0.3 wa,  0.0 hi,  0.3 si,  0.0 st 
    MiB Mem :   8053.5 total,    156.8 free,   5744.0 used,   2683.2 buff/cache     
    MiB Swap:  16384.0 total,  11620.0 free,   4764.0 used.   2309.5 avail Mem 
    

    So if the question is “Is it enough a RPI 5”? The answer is yes, it is enough (at least for moderate traffic OFC). If the question is “I have to buy hardware: is a RPI 5 the best choice?” the answer may vary depending on many things. As you’ve been told, if GPIO is not a problem, maybe a minipc is better.