BT-0022: AI Stack — Ollama + Open WebUI + Stable Diffusion#263
Open
sungdark wants to merge 3 commits intoillbnm:masterfrom
Open
BT-0022: AI Stack — Ollama + Open WebUI + Stable Diffusion#263sungdark wants to merge 3 commits intoillbnm:masterfrom
sungdark wants to merge 3 commits intoillbnm:masterfrom
Conversation
- Complete docker-compose configuration with healthchecks - Add .env.example for environment configuration - Add comprehensive README documentation following the project pattern - Includes all required security hardening: no-new-privileges, watchtower auto-update enabled - Ready for deployment
- 4 services: Ollama, Open WebUI, Stable Diffusion, Perplexica - GPU-adaptive: NVIDIA CUDA, AMD ROCm, CPU fallback via ENABLE_GPU - Healthchecks on all containers with service_healthy dependencies - Traefik labels with letsencrypt TLS on all services - Security: no-new-privileges, Watchtower auto-update - Internal 'ai' network + external 'proxy' network - Comprehensive README with architecture, routing, and troubleshooting - .env.example with all GPU mode options documented Closes illbnm#6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the AI Stack for the homelab-stack project — a complete local AI inference platform.
Changes
docker-compose.yml
--profile sd)ghcr.io/itzcrazykns1337/perplexica:latest— AI-powered search enginedeploy.resources.reservations.devicesfor Ollama + Stable Diffusionopen-webuiwaits forollamawithcondition: service_healthyletsencryptTLS on all servicesno-new-privileges:trueon all containerscom.centurylinklabs.watchtower.enable=trueaibridge + externalproxy(Traefik).env.example
ENABLE_GPU(cpu/nvidia/amd),OLLAMA_PORT,SD_ARGS,SEARCH_MODELS,SIMILARITY_MODELREADME.md
GPU Configuration
cpu(default)docker compose up -dnvidiaENABLE_GPU=nvidia docker compose up -damdENABLE_GPU=amd docker compose up -ddocker compose --profile sd up -dRelated Issues
Checklist
docker compose config)