deploy ollama
Deploy Containers / Prepare (push) Successful in 1m49s

This commit is contained in:
2026-07-06 02:27:23 -04:00
parent 9ec4a3eb60
commit 0c004425ea
2 changed files with 25 additions and 0 deletions
+3
View File
@@ -97,6 +97,9 @@
- name: Deploy OWUI
import_tasks: tasks/utility/owui.yml
tags: owui_deploy
- name: Deploy Ollama
import_tasks: tasks/utility/ollama.yml
tags: ollama_deploy
- hosts: jackson
+22
View File
@@ -0,0 +1,22 @@
---
- name: Deploy Ollama
include_role:
name: docker
vars:
name: ollama
directories:
- "{{ data_dir }}/ollama"
image:
name: ollama/ollama
tag: latest
volumes:
- "{{ data_dir }}/ollama:/root/.ollama"
devices:
- "/dev/kfd"
- "/dev/dri"
labels:
traefik.enable: "true"
traefik.http.routers.ollama.rule: Host(`ollama.fntz.net`)
traefik.http.routers.ollama.entrypoints: webSecure
traefik.http.routers.ollama.tls.certresolver: letsencrypt
traefik.http.services.ollama.loadbalancer.server.port: "11434"