Curated Docker Compose configurations for self-hosted services, organized by category with comprehensive documentation.
This cookbook provides copy-and-deploy Docker Compose configurations for common infrastructure services. Each recipe includes sensible defaults, environment templates, and documentation covering configuration, security, performance tuning, and troubleshooting. Clone a recipe, customize the .env file, and deploy in minutes.
Self-hosting services requires researching Docker configurations, understanding environment variables, and troubleshooting deployment issues. This friction slows adoption and leads to inconsistent setups across environments.
The Docker Compose Cookbook addresses this by providing:
- Standardized recipes — Every recipe follows the same structure, so once you've used one, you understand them all
- Comprehensive documentation — Each recipe includes configuration guides, security considerations, and troubleshooting help
- Sensible defaults — Configurations work out of the box while remaining customizable
- Category organization — Services grouped by function for easy discovery
| Audience | Use Case |
|---|---|
| Home Lab Enthusiasts | Deploy self-hosted alternatives to cloud services |
| DevOps Learners | Learn Docker Compose patterns through working examples |
| Small Teams | Quick infrastructure setup without enterprise complexity |
| Developers | Local development environments mirroring production |
| Category | Recipes | Status | Jump |
|---|---|---|---|
| AI & Machine Learning | 21 | Active | → |
| Automation & Orchestration | 8 | Active | → |
| Container Management | 3 | Active | → |
| Databases | 20 | Active | → |
| Development & CI/CD | 9 | Active | → |
| Home Automation | 1 | Active | → |
| Media & Entertainment | 8 | Active | → |
| Messaging & Collaboration | 2 | Active | → |
| Monitoring & Logging | 13 | Active | → |
| Networking | 10 | Active | → |
| Personal Utilities | 8 | Active | → |
| Security | 2 | Active | → |
| Storage Solutions | 6 | Active | → |
| Web Application Servers | 6 | Active | → |
Docker Compose recipes for local LLM inference, AI tools, image generation, and machine learning platforms. GPU acceleration supported via NVIDIA Container Toolkit.
| Subcategory | Description | Recipes |
|---|---|---|
| llm-inference | LLM inference engines | Ollama, LocalAI, Text-Generation-WebUI, vLLM |
| chat-interfaces | Chat UIs and RAG platforms | Open WebUI, LibreChat, AnythingLLM, PrivateGPT |
| image-generation | Image synthesis tools | Automatic1111, ComfyUI, Fooocus, InvokeAI, SwarmUI |
| audio-intelligence | Speech recognition | Faster Whisper, Wyoming Whisper |
| document-processing | Document manipulation with OCR | Stirling-PDF |
| rag-engines | RAG orchestration | RAGFlow |
| search-engines | AI-powered search | Perplexica |
| ai-agents | Autonomous AI agents | OpenHands |
| data-annotation | ML data labeling | Label Studio, CVAT |
Infrastructure automation, workflow engines, and AI agent platforms.
| Recipe | Description |
|---|---|
| ansibleawx-postgres-redis | Ansible AWX with PostgreSQL and Redis |
| rundeck | Job scheduler and runbook automation |
| stackstorm-mongodb-rabbitmq-postgres | Event-driven automation platform |
| n8n | Workflow automation with LangChain integration |
| flowise | Low-code LangChain app builder |
| dify | GenAI application development platform |
| changedetection | Website change monitoring |
| postiz | Social media scheduling |
Container orchestration interfaces and management tools.
| Recipe | Description |
|---|---|
| portainer | Container management UI |
| dockge | Docker Compose stack manager |
| watchtower | Automated container updates |
SQL, NoSQL, time series, vector, and graph databases organized by data model.
| Subcategory | Description | Recipes |
|---|---|---|
| relational | SQL databases | MySQL, MariaDB, PostgreSQL, SQLite |
| document | Document stores | MongoDB, CouchDB |
| key-value | In-memory stores | Redis, Dragonfly |
| graph | Graph databases | Neo4j |
| timeseries | Time series databases | InfluxDB, QuestDB |
| vector | Vector embeddings for RAG | Qdrant, Milvus, Weaviate, ChromaDB |
| wide-column | Wide-column stores | Cassandra |
| management | Admin tools | pgAdmin, phpMyAdmin, Mongo Express, Redis Commander |
Git servers, CI/CD pipelines, and development tools.
| Recipe | Description |
|---|---|
| gitea-mysql | Gitea with MySQL backend |
| gitea-postgresql | Gitea with PostgreSQL backend |
| gitea-sqlite3 | Gitea with SQLite backend |
| gitlabce | GitLab Community Edition |
| gogs-mysql | Gogs with MySQL backend |
| gogs-postgres | Gogs with PostgreSQL backend |
| gogs-sqlite3 | Gogs with SQLite backend |
| jenkins-sqlite3 | Jenkins CI server |
| code-server | VS Code in the browser |
Smart home platforms, IoT, and home infrastructure.
| Recipe | Description |
|---|---|
| frigate | AI-powered NVR with object detection |
Planned: Home Assistant, Node-RED, Mosquitto MQTT.
Media servers, photo management, streaming platforms, and the complete *Arr media automation stack.
| Recipe | Description |
|---|---|
| jellyfin | Open-source media server with GPU transcoding |
| prowlarr | Indexer manager for *Arr stack |
| sonarr | TV series lifecycle management |
| radarr | Movie lifecycle management |
| jellyseerr | Media request management |
| bazarr | Subtitle automation |
| immich | Self-hosted Google Photos alternative |
| audiobookshelf | Audiobook and podcast server |
Push notifications, newsletters, and team communication.
| Recipe | Description |
|---|---|
| ntfy | Push notification server |
| listmonk | Newsletter and mailing list manager |
Metrics collection, visualization, log aggregation, and system observability.
| Recipe | Description |
|---|---|
| Prometheus | Time series metrics database |
| grafana | Metrics visualization |
| graylog-elasticsearch-mongodb | Centralized log management |
| fluentd | Unified logging layer |
| cacti-mysql | Network graphing with RRDtool |
| uptime-kuma | Status monitoring |
| beszel | Lightweight server monitoring |
| glitchtip | Error tracking (Sentry alternative) |
| homarr | Dashboard for self-hosted services |
| scrutiny | Hard drive S.M.A.R.T. monitoring |
| netdata | Real-time performance monitoring |
| dozzle | Real-time container log viewer |
| matomo | Web analytics (Google Analytics alternative) |
VPNs, DNS servers, reverse proxies, ad blocking, and network tools.
| Recipe | Description |
|---|---|
| adguard-home | Network-wide ad blocking |
| pihole | DNS-based ad blocking |
| wireguard | Modern VPN tunnel |
| openvpn | OpenVPN server |
| softethervpn | Multi-protocol VPN server |
| searxng | Privacy-respecting metasearch engine |
| nginx-proxy-manager | Reverse proxy with GUI |
| traefik | Cloud-native edge router |
| headscale | Self-hosted Tailscale control server |
| guacamole | Clientless remote desktop gateway |
Knowledge management, productivity tools, and personal finance.
| Recipe | Description |
|---|---|
| bookstack | Wiki and documentation platform |
| linkwarden | Bookmark manager with archival |
| excalidraw | Virtual whiteboard |
| firefly-iii | Personal finance manager |
| it-tools | Developer utilities collection |
| hoarder | Bookmark and read-later app |
| mealie | Recipe manager |
| actual-budget | Budget tracking |
Authentication, secrets management, and password vaults.
| Recipe | Description |
|---|---|
| authentik | Identity provider and SSO |
| vaultwarden | Bitwarden-compatible password manager |
File synchronization, backup tools, and document management.
| Recipe | Description |
|---|---|
| nextcloud-aio | Self-hosted cloud storage |
| paperless-ngx | Document management system |
| filebrowser | Web file manager |
| pingvin-share | File sharing (WeTransfer alternative) |
| syncthing | Decentralized file sync |
| duplicati | Encrypted backup solution |
CMS platforms, no-code databases, and business applications.
| Recipe | Description |
|---|---|
| ghost | Professional publishing platform |
| baserow | No-code database (Airtable alternative) |
| invoice-ninja | Invoicing and billing |
| docmost | Documentation platform |
| penpot | Design platform (Figma alternative) |
| twenty | CRM platform |
# Clone the repository
git clone https://github.com/radioastronomyio/docker-compose-cookbook.git
cd docker-compose-cookbook
# Navigate to desired recipe
cd media-entertainment/jellyfin
# Copy and customize environment
cp .env.example .env
nano .env # or your preferred editor
# Deploy
docker compose up -d
# Verify
docker compose ps
docker compose logsEvery recipe follows a standardized structure:
recipe-name/
├── docker-compose.yml # Main compose configuration
├── .env.example # Environment template (copy to .env)
├── README.md # Quick start and overview
├── docs/ # Extended documentation (optional)
│ ├── CONFIGURATION.md
│ ├── SECURITY.md
│ └── TROUBLESHOOTING.md
└── scripts/ # Helper scripts (optional)
| Requirement | Version | Notes |
|---|---|---|
| Docker Engine | 20.10+ | Install guide |
| Docker Compose | v2+ | Included with Docker Desktop; standalone install |
| Git | Any | For cloning the repository |
| NVIDIA Container Toolkit | Latest | Required for GPU-accelerated recipes |
This repository benefits from open source programs that provide tooling to qualifying public repositories.
| Program | Provides | Use Case |
|---|---|---|
| Greptile | AI code review | PR review, codebase Q&A |
| Atlassian | Jira, Confluence | Project tracking, documentation |
We practice open science and open methodology — our version of "showing your work":
- Research methodologies are fully documented and repeatable
- Infrastructure configurations are version-controlled and automated
- Scripts and pipelines are published so others can learn, adapt, or improve them
- Learning processes are captured and shared for community benefit
All projects operate under open source licenses (primarily MIT) to ensure maximum reproducibility.
Contributions are welcome! To add a new recipe:
- Copy the
skeleton/template to the appropriate category - Customize the compose file and documentation
- Test the deployment locally
- Submit a pull request
See CONTRIBUTING.md for detailed guidelines.
MIT © 2025 VintageDon
- Docker — Container platform
- LinuxServer.io — Well-maintained Docker images
- Awesome-Selfhosted — Self-hosting inspiration
- RadioAstronomy.io — Research organization
Last Updated: January 4, 2025 | 100+ Active Recipes | 14 Categories

