Browse Source

Add 'rpi-containers'

Laurie Summers 1 year ago
parent
commit
13fd88c4aa
1 changed files with 99 additions and 0 deletions
  1. 99 0
      rpi-containers

+ 99 - 0
rpi-containers

@@ -0,0 +1,99 @@
+https://www.reddit.com/r/selfhosted/comments/vz1te8/selfhosting_50_docker_containers_on_the_raspberry/
+
+
+Selfhosting 50+ Docker containers on the Raspberry Pi 4
+I thought I would share this in case others have faced resource bottlenecks with the Raspberry Pi 4, or are balking at the idea of using it. I have seen questions on this sub about whether the Raspberry Pi 4 is a worthy server for selfhosting. I think this feeds into that discussion.
+
+I currently have 51 Docker containers running on my Raspberry Pi 4 4GB. CPU load typically sits between 1-1.5, memory usage around 75%, and temperature around 65°C with passive cooling (aluminium case; ambient temperature is typically 20-25°C). The Pi boots off an SSD connected via USB3 and has 3 other external hard disks attached to it via USB2/3 for additional storage.
+
+When I initially hit ~45 containers, the Pi would frequently and randomly freeze. I solved that by increasing the swap size from the default 100MB to 8GB using this guide, adapting it for the Raspberry Pi OS. The only difference is the location of the swap file, which for the Raspberry Pi OS is at /var/swap. It has since run smoothly without freezing. Swap usage is typically ~1.7GB.
+
+Edit: Services I run:
+
+adguardhome
+
+authelia
+
+bookstack
+
+calibre-web
+
+changedetection
+
+duckdns
+
+fdroid
+
+filebrowser
+
+firefly-iii
+
+freshrss
+
+grocy
+
+hammond
+
+heimdall
+
+homeassistant
+
+homer
+
+jellyfin (transcoding turned off)
+
+linkding
+
+docker-mailserver
+
+mealie
+
+nginx
+
+yt-dlp
+
+navidrome
+
+nextcloud
+
+nitter
+
+openbooks
+
+paperless-ngx
+
+pigallery2
+
+pihole
+
+pinry
+
+portainer
+
+pyload-ng
+
+roundcube
+
+scrutiny
+
+snipe-it
+
+swag
+
+syncthing
+
+ulogger
+
+vandam
+
+vaultwarden
+
+wallabag
+
+watchtower
+
+webssh
+
+youtubedl-material
+
+Plus separate instances of MariaDB, Postgres and Redis for some of these services.