• 0 Posts
  • 63 Comments
Joined 11 months ago
cake
Cake day: August 12th, 2023

help-circle




  • Turun@feddit.detoSelfhosted@lemmy.worldTarallo - selfhostable FOSS Trello alternative
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    edit-2
    3 months ago

    A basic image is really easy. It’s basically just

    Dockerfile

    FROM debian  # start with a minimal Linux system. There are probably better options than debian. Some images are made especially for docker (i.e. very minimal and light weight). 
    RUN apt install dependencies  # do what ever you need to get your app running. 
    RUN echo "options and stuff" >> /etc/a/config/file  # you can also edit system files
    COPY . /app  # copy your project into the docker container.
    EXPOSE 8080  # doesn't actually do anything, but documents where the app will be listening
    CMD server-binary run /app/main.php  # I have actually no idea how php server stuff works
    

    (Docs https://docs.docker.com/reference/dockerfile/)

    Then people can run your project with docker.

    Edit: checking the readme some small changes would be required. Config.php should read in environment variables and the DB init SQL should be run automatically somehow.


  • Du kannst auch einfach 2x16 dazupacken, dann haste 48GB!

    Was jetzt bei deinem konkreten Fall schneller wäre ist unmöglich zu sagen. Ich würde zu mehr Arbeitsspeicher (oder mehr Geld, wenn 2x8 viel billiger ist als 2x16) tendieren anstatt 5% mehr Punkte in synthetischen Benchmarks zu erreichen.




  • Was steht den in den specs, wie viel Strom können die USB ports liefern? Und wie viel verbrauchen deine Peripheriegeräte?

    Bei Raspberry Pi ist das ein bekanntes “problem”. Mehr als 1.2 A auf alle USB ports verteilt geht da nicht. Da kannst du dir noch so viel Ersatz Pis schicken lassen, das wird nicht besser werden. Ich vermute das gleiche Problem hat das Motherboard. Also kein Defekt, sondern einfach nur unpassende Specs für deinee hardware.




  • It depends if underpowered means “too slow” for you, or “slow”. I would consider the meaning more similar to “too slow”, i.e. I think the reference point matters. Therefore for me the pi is not underpowered, just low powered. [Edit: to keep the discussion on track, I would therefore consider the pi “good enough”, which was the original claim in the second level comment]

    Of course in terms of absolute numbers the pi has not a lot of processing power.



  • I have a pi4, 4GB. And running off of an SSD (connected via SATA to usb adapter). Sorry, forgot to specify.

    Even slower would still be worth it IMO, digital document management is just so much better than keeping multiple folders of paper organized. Also I can access all my paperwork from anywhere, because the pi and my phone are both in my wireguard VPN network.


  • Turun@feddit.detoSelfhosted@lemmy.worldWhat should I use my RPi4 for?
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    5 months ago

    About a minute, 1:30 maybe (edit: per page on a pi4). I use an app to upload jpegs though, I don’t have a normal scanner at the moment. The higher quality scan and smaller file size may make some steps of the process quicker (no need for alignment and color correction for example) if you use a normal, proper scanner.

    It doesn’t matter though. When I get home and see I got a letter I scan it and by the time I drank something, put away my clothes and stuff i had with me, the pi is done and I can edit the metadata in the web ui.





  • Turun@feddit.detoich_iel@feddit.deich💰iel
    link
    fedilink
    Deutsch
    arrow-up
    6
    ·
    7 months ago

    Wenn man sich mit dem Thema nicht auskennt ist es teilweise echt schwer herauszufinden was der Rest ist, den man ignorieren kann. Aber das kritisiere ich an Wikipedia nicht, es ist schlicht unmöglich einfache Informationen für Neulinge und alle spezifischen Informationen für Experten gleichzeitig und gleich gut zu präsentieren. In Mathe Artikeln mit seitenweise Formeln bin ich heillos überfordert, aber in den ein oder anderen Physik Thema würde ich mir mindestens doppelt so viel Information wünschen.