mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-24 11:06:24 +02:00
Add per-service resource overrides (cpus, mem_reservation, mem_limit, pids_limit) for ollama, mariadb, postgres, confluence, gitlab, jira, keycloak, nextcloud; light formatting fixes in wordpress. Rename service keys from generic 'application/web' to concrete names (jira, confluence, gitlab, keycloak) and update compose templates accordingly. Jira: introduce JIRA_STORAGE_PATH and switch mounts/README accordingly. https://chatgpt.com/share/68d2d96c-9bf4-800f-bbec-d4f2c0051c06
22 lines
566 B
YAML
22 lines
566 B
YAML
features:
|
|
local_ai: true # Needs to be set so that network is loaded
|
|
docker:
|
|
services:
|
|
ollama:
|
|
backup:
|
|
no_stop_required: true
|
|
image: ollama/ollama
|
|
version: latest
|
|
name: ollama
|
|
port: 11434
|
|
cpus: "4.0"
|
|
mem_reservation: "6g"
|
|
mem_limit: "8g"
|
|
pids_limit: 2048
|
|
volumes:
|
|
models: "ollama_models"
|
|
network: "ollama"
|
|
preload_models:
|
|
- "llama3:latest"
|
|
- "mistral:latest"
|
|
- "nomic-embed-text:latest" |