Skip to content

This Docker Compose setup provides an isolated application with Ollama, Open-WebUI, and Nginx reverse proxy to enable secure HTTPS access. Since Open-WebUI does not support SSL natively, Nginx acts as a reverse proxy, handling SSL termination.

License

Notifications You must be signed in to change notification settings

ilolm/ollama-webui-https

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ollama-webui-https

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.


Prerequisites

Ensure you have the following installed:


📦 Installation

1. Clone the Repository

git clone https://github.com/ilolm/ollama-webui-https.git
cd ollama-webui-https

2. Configure SSL Certificates

Place your SSL certificate (fullchain.pem) and private key (privkey.pem) inside the ssl/ directory.

3. Update Nginx Configuration (Domain)

Before running the application, you must update your domain in the Nginx configuration:

  1. Open the Nginx configuration file:
nano default.conf
  1. Replace example.com with your actual domain in the server blocks for ports 80 and 443. (There are only two example.com entities)
  2. Save the file.

4. Start the Stack

docker compose up -d

Your WebUI will be available at https://your-domain.com or https://localhost 🎉


🛠 Updating Containers

docker compose pull
docker compose up -d --force-recreate

📜 License

This project is licensed under the MIT License.


🤝 Contributing

Feel free to open issues or submit pull requests to improve the project.


Made with ❤️ by Ilolm

About

This Docker Compose setup provides an isolated application with Ollama, Open-WebUI, and Nginx reverse proxy to enable secure HTTPS access. Since Open-WebUI does not support SSL natively, Nginx acts as a reverse proxy, handling SSL termination.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published