├── images ├── .gitignore ├── Screenshot01.png ├── Screenshot02.png ├── Screenshot03.png ├── Screenshot05.png ├── Screenshot06.png ├── Screenshot07.png ├── Screenshot08.png ├── raspberrypi.jpeg ├── raspberrypi.jpg ├── screenshot1.png ├── screenshot2.png └── screenshot3.png ├── docker-compose-ollama-webui.yml ├── docker-compose.yaml └── README.md /images/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /images/Screenshot01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adijayainc/LLM-ollama-webui-Raspberry-Pi5/HEAD/images/Screenshot01.png -------------------------------------------------------------------------------- /images/Screenshot02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adijayainc/LLM-ollama-webui-Raspberry-Pi5/HEAD/images/Screenshot02.png -------------------------------------------------------------------------------- /images/Screenshot03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adijayainc/LLM-ollama-webui-Raspberry-Pi5/HEAD/images/Screenshot03.png -------------------------------------------------------------------------------- /images/Screenshot05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adijayainc/LLM-ollama-webui-Raspberry-Pi5/HEAD/images/Screenshot05.png -------------------------------------------------------------------------------- /images/Screenshot06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adijayainc/LLM-ollama-webui-Raspberry-Pi5/HEAD/images/Screenshot06.png -------------------------------------------------------------------------------- /images/Screenshot07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adijayainc/LLM-ollama-webui-Raspberry-Pi5/HEAD/images/Screenshot07.png -------------------------------------------------------------------------------- /images/Screenshot08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adijayainc/LLM-ollama-webui-Raspberry-Pi5/HEAD/images/Screenshot08.png -------------------------------------------------------------------------------- /images/raspberrypi.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adijayainc/LLM-ollama-webui-Raspberry-Pi5/HEAD/images/raspberrypi.jpeg -------------------------------------------------------------------------------- /images/raspberrypi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adijayainc/LLM-ollama-webui-Raspberry-Pi5/HEAD/images/raspberrypi.jpg -------------------------------------------------------------------------------- /images/screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adijayainc/LLM-ollama-webui-Raspberry-Pi5/HEAD/images/screenshot1.png -------------------------------------------------------------------------------- /images/screenshot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adijayainc/LLM-ollama-webui-Raspberry-Pi5/HEAD/images/screenshot2.png -------------------------------------------------------------------------------- /images/screenshot3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adijayainc/LLM-ollama-webui-Raspberry-Pi5/HEAD/images/screenshot3.png -------------------------------------------------------------------------------- /docker-compose-ollama-webui.yml: -------------------------------------------------------------------------------- 1 | version: "3.9" 2 | 3 | services: 4 | ollama: 5 | container_name: ollama 6 | image: ollama/ollama:latest 7 | restart: always 8 | volumes: 9 | - /home/adijaya/ollama:/root/.ollama 10 | 11 | ollama-webui: 12 | build: 13 | context: ./webui/ 14 | args: 15 | OLLAMA_API_BASE_URL: '/ollama/api' 16 | dockerfile: Dockerfile 17 | image: ghcr.io/ollama/ollama-webui:main 18 | container_name: ollama-webui 19 | volumes: 20 | - ollama-webui:/app/backend/data 21 | depends_on: 22 | - ollama 23 | ports: 24 | - ${OLLAMA_WEBUI_PORT-3000}:8080 25 | environment: 26 | - 'OLLAMA_API_BASE_URL=http://ollama:11434/api' 27 | extra_hosts: 28 | - host.docker.internal:host-gateway 29 | restart: unless-stopped 30 | 31 | volumes: 32 | ollama-webui: {} 33 | ollama: {} 34 | 35 | -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- 1 | services: 2 | ollama: 3 | volumes: 4 | - /home/adijaya/ollama:/root/.ollama 5 | - /home/adijaya/project:/root/project 6 | container_name: ollama 7 | pull_policy: always 8 | tty: true 9 | restart: unless-stopped 10 | image: ollama/ollama:${OLLAMA_DOCKER_TAG-latest} 11 | 12 | open-webui: 13 | build: 14 | context: . 15 | args: 16 | OLLAMA_BASE_URL: '/ollama' 17 | dockerfile: Dockerfile 18 | image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main} 19 | container_name: open-webui 20 | volumes: 21 | - open-webui:/app/backend/data 22 | depends_on: 23 | - ollama 24 | ports: 25 | - ${OPEN_WEBUI_PORT-3000}:8080 26 | environment: 27 | - 'OLLAMA_BASE_URL=http://ollama:11434' 28 | - 'WEBUI_SECRET_KEY=' 29 | extra_hosts: 30 | - host.docker.internal:host-gateway 31 | restart: unless-stopped 32 | 33 | volumes: 34 | ollama: {} 35 | open-webui: {} 36 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
6 |
7 | Step-by-Step Guide on how to run TinyLama LLM on a Raspberry Pi 5 using Docker + Ollama + WebUI
8 |
9 |