This Docker Compose setup provides an isolated application with Ollama, Open-WebUI, and enables Open-WebUI to use SSL (HTTPS) via Nginx reverse proxy, as Open-WebUI does not support SSL natively.
Ensure you have the following installed:
git clone https://github.com/ilolm/ollama-webui-https.git
cd ollama-webui-httpsPlace your SSL certificate (fullchain.pem) and private key (privkey.pem) inside the ssl/ directory.
Before running the application, you must update your domain in the Nginx configuration:
- Open the Nginx configuration file:
nano default.conf- Replace
example.comwith your actual domain in theserverblocks for ports 80 and 443. (There are only twoexample.comentities) - Save the file.
docker compose up -dYour WebUI will be available at https://your-domain.com or https://localhost 🎉
docker compose pull
docker compose up -d --force-recreateThis project is licensed under the MIT License.
Feel free to open issues or submit pull requests to improve the project.
Made with ❤️ by Ilolm