mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-07 19:32:17 +00:00
36 lines
746 B
YAML
36 lines
746 B
YAML
---
|
|
ollama:
|
|
healthcheck:
|
|
flavor: tcp
|
|
modes:
|
|
compose:
|
|
enabled: true
|
|
swarm:
|
|
enabled: true
|
|
bond: 1
|
|
enabled: true
|
|
shared: true
|
|
backup:
|
|
no_stop_required: true
|
|
image: ollama/ollama
|
|
version: 0.40.13
|
|
name: ollama
|
|
min_storage: 3473MB
|
|
cpus: "4.0"
|
|
mem_reservation: 6g
|
|
mem_limit: 8g
|
|
pids_limit: 2048
|
|
ports:
|
|
internal:
|
|
http: 11434
|
|
preload_models: "{{ AI_LOCAL_MODELS }}"
|
|
preload_async_time: 3600
|
|
keep_alive: "-1"
|
|
lifecycle: beta
|
|
|
|
# nocheck: playwright-service-flag, dynamic-flag infrastructure backup consumer
|
|
container_backup: # nocheck: bond-baseline backup host joins outside the variant topology
|
|
bond: 1
|
|
enabled: "{{ 'svc-bkp-volume-2-local' in group_names }}"
|
|
shared: true
|