Compose-Examples/README.md

17 KiB

Awesome Docker Compose Examples

Various Docker Compose examples of selfhosted FOSS and proprietary projects.



Requirements

  • Docker Compose

🎓 Usage

  • Volume bind mounts are assumed to be located at /mnt/docker-volumes/<container-name>/. You can adjust the path via the global env variable DOCKER_VOLUME_STORAGE to your liking though. The compose examples will fall back to /mnt/docker-volumes/<container-name>/ if the env variable is not set on your Docker server.
  • Volume permissions (UID:GUID) must be set correctly by yourself. Usually 1000:1000 - otherwise read the notes!
  • Docker networks are not pre-defined. Adjust to your preference and network/proxy setup.
  • Example config files are usually provided but not yet located in the correct volume bind mount paths. Adjust!
  • Example credentials should be always adjusted due to security reasons. Read the comments!

Otherwise, it should be a matter of:

git clone https://github.com/Haxxnet/Compose-Examples && cd Compose-Examples
cd <container-of-interest>

# read the notes, comments and adjust compose + volumes + configs
docker compose up

🐳 Project List

Dashboards

  • Homepage - A highly customizable homepage (or startpage / application dashboard) with Docker and service API integrations.
  • Homer - A dead simple static homepage to expose your server services, with an easy yaml configuration and connectivity check.
  • Dashy - Feature-rich homepage for your homelab, with easy YAML configuration.
  • Homarr - A sleek, modern dashboard that puts all of your apps and services at your fingertips.
  • Flame - Flame is self-hosted startpage for your server. Easily manage your apps and bookmarks with built-in editors.
  • Heimdall - Heimdall is an elegant solution to organise all your web applications.

Password Management

  • Vaultwarden - Lightweight Bitwarden server API implementation written in Rust.
  • Bitwarden Unified - Official Bitwarden deployment option (beta) targeting selfhosters by providing a resource-efficient, single Docker image with multiple database support.

Reverse Proxies

  • Traefik - Traefik is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease. It supports several backends (Docker, Swarm, Mesos/Marathon, …) to manage its configuration automatically and dynamically.
  • Nginx Proxy Manager - Nginx Proxy Manager is an easy way to accomplish reverse proxying hosts with SSL termination.
  • Caddy - The Caddy web server is an extensible, cross-platform, open-source web server written in Go. Caddy obtains and renews TLS certificates for your sites automatically.

Virtual Private Network (VPN)

  • wg-easy - The easiest way to install & manage WireGuard on any Linux host. All-in-one deployment of a WireGuard VPN network service + web management UI.
  • WireGuard - WireGuard by Linuxserver.io is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography.
  • Netbird - Quickly connect your computers, servers, cloud instances, and IoT devices into a secure private network. No configuration required.
  • Firezone - Self-hosted secure remote access gateway that supports the WireGuard protocol. It offers a Web GUI, 1-line install script, multi-factor auth (MFA), and SSO.

Domain Name Service (DNS)

  • AdGuard Home - AdGuard Home is a network-wide software for blocking ads and tracking.
  • AdGuard Home Sync - Synchronize AdGuardHome config to replica instances.
  • Technitium DNS - An open source authoritative as well as recursive DNS server that can be used for self hosting a DNS server for privacy & security.
  • Pihole - Pi-hole is a Linux network-level advertisement and Internet tracker blocking application which acts as a DNS sinkhole and optionally a DHCP server, intended for use on a private network.
  • Cloudflare DDNS - Dynamic DNS (DDNS) is a service that keeps the DNS updated with a web property's correct IP address, even if that IP address is constantly being updated.

Repository Management, Coding and Automation

  • Gitea - Community managed fork of Gogs, lightweight code hosting solution.
  • Drone - Drone is a continuous delivery system built on container technology. Drone uses a simple YAML build file, to define and execute build pipelines inside Docker containers.
  • Gitlab Community - Self Hosted Git repository management, code reviews, issue tracking, activity feeds and wikis.
  • Code-Server - VS Code in the browser, hosted on a remote server.
  • Obsidian-Remote - This docker image allows you to run obsidian in docker as a container and access it via your web browser.
  • Onedev - Self-hosted Git Server with CI/CD and Kanban.
  • n8n - Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.

Monitoring

  • Watchtower - A container-based solution for automating Docker container base image updates.
  • Portainer - Portainer is a lightweight management UI which allows you to easily manage your different Docker environments (Docker hosts or Swarm clusters).
  • Uptimekuma - Uptime Kuma is an easy-to-use self-hosted monitoring tool.
  • Changedetection - Self-hosted tool for staying up-to-date with web-site content changes.
  • Grafana+Loki+Promtail+InfluxDB+Telegraf - Grafana is the open source analytics & monitoring solution for every database. Combined with other open-source tools like Loki, Promtail, InfluxDB and Telegraf, monitoring data can be aggregated, normalized, filtered, parsed and finally visualized within a web dashboard.
  • Speedtest-Tracker - Continuously track your internet speed.
  • Openspeedtest - A free and open-source HTML5 network performance estimation tool written in vanilla JavaScript and only uses built-in web APIs like XHR, HTML, CSS, JS and SVG.
  • Goaccess - Real-time web log analyzer and interactive viewer that visualizes various logs of popular reverse proxies such as Nginx, Nginx Proxy Manager and Traefik.
  • WatchYourLAN - Lightweight network IP scanner with web GUI.
  • Network-Multitool - Multi-arch multitool for container network troubleshooting.
  • Home Assistant - Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.

Recipe Managers

  • Tandoor - Django application to manage, tag and search recipes using either built-in models or external storage providers hosting PDFs, Images or other files.
  • Mealie - Material design inspired recipe manager with category and tag management, shopping-lists, meal-planner, and site customizations. Mealie is focused on simple user interactions to keep the whole family using the app.

Media Management

  • Immich - Self-hosted photo and video backup solution directly from your mobile phone. Alternative to Google Photos.
  • Photoprism - Personal photo management powered by Go and Google TensorFlow. Browse, organize, and share your personal photo collection, using the latest technologies to automatically tag and find pictures.
  • Deemix - deemix is a barebone deezer downloader library built from the ashes of Deezloader Remix.
  • Papermerge - Free and open source document management system with OCR designed for scanned documents, digital archives, pdf, tiff, jpeg.
  • Paperless NGX - A community-supported supercharged version of paperless: scan, index and archive all your physical documents.
  • Stash - Stash is a self-hosted webapp written in Go which organizes and serves your porn.

Pastebins

  • PrivateBin - PrivateBin is a minimalist, opensource online pastebin/discussion board where the server has zero knowledge of hosted data.
  • Hemmelig - Keep your sensitive information out of chat logs, emails, and more with encrypted secrets. Free encrypted secret sharing for everyone!

File Sharing

  • Nextcloud - Access and share your files, calendars, contacts, mail and more from any device, on your terms.
  • Seafile - File hosting and sharing solution primary for teams and organizations.
  • SFTPGo - Fully featured and highly configurable SFTP server with optional HTTP/S, FTP/S and WebDAV support - S3, Google Cloud Storage, Azure Blob.
  • Gokapi - Lightweight selfhosted Firefox Send alternative without public upload. AWS S3 supported.
  • Projectsend - ProjectSend is a free, open source software that lets you share files with your clients, focused on ease of use and privacy. It supports clients groups, system users roles, statistics, multiple languages, detailed logs and much more!
  • Pwndrop - pwndrop is a self-deployable file hosting service for sending out red teaming payloads or securely sharing your private files over HTTP and WebDAV.
  • Droppy - droppy is a self-hosted file storage server with a web interface and capabilities to edit files and view media directly in the browser. It is particularly well-suited to be run on low-end hardware like the Raspberry Pi.

Publishing, Writing, Blogging, Hosting

  • Ghost - Ghost is a free and open source blogging platform written in JavaScript and distributed under the MIT License, designed to simplify the process of online publishing for individual bloggers as well as online publications.
  • WordPress - WordPress is a free and open-source content management system written in hypertext preprocessor language and paired with a MySQL or MariaDB database with supported HTTPS.
  • Nginx + PHP - Nginx is a web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. Combined with PHP, a general-purpose scripting language geared toward web development, server-side functions can be implemented for the webs.
  • Overleaf - Overleaf is a collaborative cloud-based LaTeX editor used for writing, editing and publishing scientific documents.
  • Answer - An open-source knowledge-based community software. You can use it quickly to build Q&A community for your products, customers, teams, and more.

Analytics

  • Matomo - Matomo is the leading Free/Libre open analytics platform.
  • Plausible - Simple, open-source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.

Security & Privacy

  • Nessus - Nessus is a proprietary vulnerability scanner developed by Tenable, Inc.
  • Greenbone - Greenbone is the world's most trusted provider of open source vulnerability management.
  • SonarQube - SonarQube is an open-source platform developed by SonarSource for continuous inspection of code quality to perform automatic reviews with static analysis of code to detect bugs and code smells on 29 programming languages.
  • Fail2ban - Fail2ban is an intrusion prevention software framework. Written in the Python programming language, it is designed to prevent against brute-force attacks.
  • Tor-Browser - Running a Tor browser instance on any headless server.
  • Firefox - Firefox by linuxserver.io allows you to run the popular Firefox web broser on a remote server.

Internet of Things / Smart Home

  • Home Assistant - Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.

Asset Management

  • Domainmod - DomainMOD is an open source application used to manage your domains and other internet assets in a central location.
  • Snipe-IT - Snipe-IT is a free, open source IT asset management system written in PHP.

Backups

  • Duplicati - Duplicati is a backup client that securely stores encrypted, incremental, compressed remote backups of local files on cloud storage services and remote file servers.
  • Duplicacy - A lock-free deduplication cloud backup tool.

Wiki & Knowledge Base

  • Bookstack - BookStack is a free and open-source wiki software aimed for a simple, self-hosted, and easy-to-use platform.
  • Wiki.js - Wiki.js is an open source project that has been made possible due to the generous contributions by community backers.
  • Answer - An open-source knowledge-based community software. You can use it quickly to build Q&A community for your products, customers, teams, and more.
  • Obsidian-Remote - This docker image allows you to run obsidian in docker as a container and access it via your web browser.

Finance

  • TRSync - Django web frontend for pytr to download all Trade Republic depot data.
  • Money-Balancer - A simple application for managing debt with your friends!
  • Firefly III - A self-hosted manager for your personal finances.

Communication and Social

  • Mirotalk P2P - Simple, Secure, Fast Real-Time Video Conferences Up to 4k and 60fps, compatible with all browsers and platforms.
  • Rocket.Chat - Rocket.Chat is an open-source fully customizable communications platform developed in JavaScript for organizations with high standards of data protection.
  • Answer - An open-source knowledge-based community software. You can use it quickly to build Q&A community for your products, customers, teams, and more.
  • Excalidraw - Excalidraw is a virtual collaborative whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them.

Project Management

  • JetBrains YouTrack - YouTrack is a proprietary, commercial browser-based bug tracker, issue tracking system and project management software developed by JetBrains.

Star History

Star History Chart