Cyber PingU

@Cyber PingU @lemmy.cyberveins.eu
1 Post – 6 Comments
Joined 7 months ago

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.

@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.

@Marsupial@quokk.au that's awesome; I mean, I don't rellay need it to be perfect at once. I was just wondering if I needed to open some "strange ports" (for example, with matrix I need to open 2 ports at once to let the federation work). But as long as I'm reachable from others lemmy istances and vice versa, it's all ok. Thanks for your feedback guys :)

Thanks Matt, apparently I was able at least to federate with lemmy.world since I got your answer... now I "just" have to figure out why I cannot find my user from mastodon (and why if I DM from lemmy my mastodon's user, I get nothing) :)

1 more...

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.

Hi mate, to be honest I tried both authenticated (on my own instance) and not auth. But what is strange is that from lemmy I can contact a mastodo user and even DM him (my other username in mastodon), but there I don't receive anything -.-

Got no clue what a movie like xXx becomes