Video coming soon…

🎁 Setup the AI Stack — Private ChatGPT with Web Search

Deploy a self-hosted AI stack on Ubuntu with Docker — Ollama, Open WebUI, SearXNG, and LiteLLM, pre-wired into a private ChatGPT with web search and an OpenAI-compatible API, with a starter model auto-pulled.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated stack installer — one command deploys Ollama, Open WebUI, SearXNG, and LiteLLM pre-wired together, auto-pulls a starter model, and gives you a private ChatGPT with web search on port 3210.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/stacks/ai-stack/ai-stack-ubuntu.sh
chmod +x ai-stack-ubuntu.sh
./ai-stack-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/stacks/ai-stack/ai-stack-ubuntu.sh

2 Make it Executable

chmod +x ai-stack-ubuntu.sh

3 Run the Installer

./ai-stack-ubuntu.sh

4 Open Open WebUI and Create Your Account

http://your-server-ip:3210

Ports Used

PortPurpose
3210Open WebUI — the ChatGPT-style chat interface (from container 8080)
11434Ollama — local model API (no auth; keep internal)
8081SearXNG — private web search (from container 8080)
4001LiteLLM — OpenAI-compatible API at /v1 (from container 4000)

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions