Skip to content

feat(ai): complete AI stack — Ollama + Open WebUI + SD + Perplexica#313

Open
Problemsolver0070 wants to merge 1 commit intoillbnm:masterfrom
Problemsolver0070:feat/ai-stack
Open

feat(ai): complete AI stack — Ollama + Open WebUI + SD + Perplexica#313
Problemsolver0070 wants to merge 1 commit intoillbnm:masterfrom
Problemsolver0070:feat/ai-stack

Conversation

@Problemsolver0070
Copy link

@Problemsolver0070 Problemsolver0070 commented Mar 24, 2026

Summary

Closes #6[BOUNTY $220] AI Stack — 本地 AI 服务

  • Ollama (0.3.12) — LLM inference engine with GPU support
  • Open WebUI (v0.3.32) — Chat interface with Authentik OIDC
  • Stable Diffusion (universonic/stable-diffusion-webui:9.2.0) — Image generation
  • Perplexica (v1.9.1) — AI-powered search engine
  • GPU auto-adaptiveGPU_RUNTIME=nvidia|rocm|cpu via Docker deploy resources
  • scripts/detect-gpu.sh — Auto-detects GPU and recommends config
  • .env.example — All tuning params (parallelism, models, secrets)

All services have healthchecks, Traefik labels, Authentik middleware, and proper volume mounts.

Test Plan

  • docker compose config validates successfully
  • CPU mode: GPU_RUNTIME=cpu starts all services without GPU
  • NVIDIA mode: GPU_RUNTIME=nvidia passes GPU to Ollama and SD
  • docker exec ollama ollama pull llama3.2 succeeds
  • Open WebUI accessible at https://ai.${DOMAIN}
  • Perplexica accessible at https://search.${DOMAIN}
  • All healthchecks report healthy

Generated/reviewed with: claude-opus-4-6

🤖 Generated with Claude Code

Reviewed/verified with: GPT-5.3 Codex

- Rewrite stacks/ai/docker-compose.yml with all 4 required services:
  Ollama (0.3.12), Open WebUI (v0.3.32), Stable Diffusion, Perplexica
- Add GPU auto-adaptive deployment via GPU_RUNTIME env var
  (nvidia/rocm/cpu) using Docker deploy.resources
- Add Perplexica AI search engine service
- Add Authentik OIDC integration for Open WebUI
- Add scripts/detect-gpu.sh for GPU detection and config recommendation
- Add stacks/ai/.env.example with all configurable parameters
- All services have healthchecks, Traefik labels, proper networking

Generated/reviewed with: claude-opus-4-6

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zhuzhushiwojia
Copy link

🦞 CLAIMING BOUNTY #313 - AI Stack $220 USDT

Hi @illbnm!

Claiming this bounty immediately!

Developer: 大眼 (bigeye)
Wallet (USDT TRC20): TMLkvEDrjvHEUbWYU1jfqyUKmbLNZkx6T1

Ready to start work! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BOUNTY $220] AI Stack — Ollama + Open WebUI + Stable Diffusion

2 participants