Awesome Open Source
Awesome Open Source

RaspberryPi Docker Swarm Stacks

Custom badge

A collection of Docker Stacks that I run on my home Raspberry Pi Docker Swarm cluster.

  • Prometheus - Full metrics and monitoring pipeline. Includes Docker, container, and node based metric collection, alerting, and visualization w/ Grafana
  • pihole - Network wide adblocker implementing DNS over HTTPS (DoH) via cloudflared proxy.
  • portainer - Docker Swarm cluster management UI.
  • GitLab - GitLab Omnibus deployment with GitLab CI/CD Runner.
  • Elastic (ELK) Stack - Logging aggregation, analysis, search, and visualization stack. Comprised of Elasticsearch, Kibana, and Filebeat.
  • Unifi Controller - Wireless network management software solution from Ubiquiti Networks for administration of Unifi network gear.

Setup and Install

Clone the repo, cd into each directory and run:

sudo docker stack deploy --compose-file=$FILE_NAME $STACK_NAME

Note - Read thru README in each dir for setup and configuration details of each stack.

Multiarch Docker Images

Many of the open source products used here do not have vendor supported ARM compatible Docker images or are published under different Docker Hub repositories / tags. Some vendor supported images do have ARM support, but are not fully compatible with Docker Swarm clustering. To overcome these limitations, the following projects were created and use Docker buildx to publish native multi-architecture images (tutorial here). Check out these repositories for further information:

Special shout out to these open source ARM compatible projects used:

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Shell (229,298
Docker (34,505
Raspberry Pi (7,562
Elasticsearch (3,848
Prometheus (2,523
Grafana (1,628
Gitlab (1,316
Kibana (843
Gitlab Ci (469
Pi Hole (379
Filebeat (188
Alertmanager (171
Portainer (163
Dns Over Https (144
Gitlab Runner (105
Multiarch (83
Node Exporter (77
Elasticstack (76
Cloudflared (25
Related Projects