{"repo":"mythrantic/ollama-docker","free":true,"listed":false,"github":"https://github.com/mythrantic/ollama-docker","clone":"git clone https://github.com/mythrantic/ollama-docker.git","description":"Welcome to the Ollama Docker Compose Setup! This project simplifies the deployment of Ollama using Docker Compose, making it easy to run Ollama with all its dependencies in a containerized environment","language":"HTML","stars":1415,"topics":["docker","docker-compose","ollama"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"Ollama Docker Compose Setup Welcome to the Ollama Docker Compose Setup! This project simplifies the deployment of Ollama using Docker Compose, making it easy to run Ollama with all its dependencies in a containerized environment. Getting Started Prerequisites Make sure you have the following prerequisites installed on your machine: - Docker (should also be able to run docker compose ...) GPU Support (Optional) If you have a GPU and want to leverage its power within a Docker container, follow these steps to install the NVIDIA Container Toolkit: Configuration 1. Clone the Docker Compose repository: 2. Change to the project directory: Usage Start Ollama and its dependencies using Docker Compose: if gpu is configured else Visit http://localhost:8080 in your browser to access Ollama-webui. Model Installation Navigate to settings - model and install a model (e.g., llava-phi3). This may take a couple of minutes, but afterward, you can use it just like ChatGPT. Explore Langchain and Ollama You can explore Langchain and Ollama within the project. A third container named app has been created for this purpose. Inside, you'll find some examples. Devcontainer and Virtual Environment The app container serves as a devcontainer, allowing you to boot into it for experimentation. Additionally, the run.sh file contains code to set up a virtual environment if you prefer not to use Docker for your development environment. if you have vs code and the Remote Development´ extension simply opening th","default_branch":null,"files":null,"tree":[],"storefront":"/r/mythrantic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mythrantic/ollama-docker/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}