Skip Navigation

User banner
Posts
2
Comments
11
Joined
2 yr. ago

  • @nutomic@lemmy.ml , just for debug: I used the Dockerfile provided by ubergeek and I was not able to build up the image (with no cross compile) untill I changed ARG RUST_VERSION=1.76 into ARG RUST_VERSION=latest. This change was NOT necessary on amd64. You said your matrix user was able to run dessaline's image flawlessly on arm64 (raspberry), but this sounds weird to me :-\

  • Got no clue what a movie like xXx becomes

  • Using this image --> https://github.com/ubergeek77/lemmy-docker-multiarch

     
        
        #image: dessalines/lemmy:0.19.3
        image: ghcr.io/ubergeek77/lemmy:0.19.3  
    
    
      

    the very same docker-compose.yml works even on rpi5 (this instance I'm writing from is the one that now works even on 0.19.3 while with dessaline's one does not). I just changed that line: there must be something in dessaline's way of building the image that my pi doesn't like (if on yours it works).

  • i'm not using ansibile, I'md directly using docker compose... the same file on an amd64 platform works, while on rpi it fails :-\

  • I treid version 0.19.3 on AMD64 platform and it works out of the box. The problem is only on arm64, such as on RPI.

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

  • Lemmy Support @lemmy.ml

    Any way to run lemmy => 0.19.2 in docker on arm64? It crashes with error 139

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

  • @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) :)

  • Selfhosted @lemmy.world

    Question about selfhosting lemmy