Files
infrastructure/hosts/pd05wd/ollama/compose.yaml
Renovate Bot c211a06087
All checks were successful
lint-test-docker / lint-docker-compose (pull_request) Successful in 41s
lint-test-helm / lint-helm (pull_request) Successful in 1m9s
lint-test-helm / validate-kubeconform (pull_request) Has been skipped
render-manifests / render-manifests (pull_request) Successful in 1m55s
chore(deps): update ollama/ollama docker tag to v0.24.0
2026-05-15 00:06:01 +00:00

41 lines
1.1 KiB
YAML

---
services:
tailscale-ollama:
image: ghcr.io/tailscale/tailscale:v1.96.5@sha256:dbeff02d2337344b351afac203427218c4d0a06c43fc10a865184063498472a6
container_name: tailscale-ollama
cap_add:
- net_admin
- sys_module
environment:
- TS_STATE_DIR=/var/lib/tailscale
- TS_ENABLE_METRICS=true
- TS_HOSTNAME=ollama-pd05wd
env_file:
- .ts-env
network_mode: service:ollama
restart: always
volumes:
- tailscale:/var/lib/tailscale
devices:
- /dev/net/tun:/dev/net/tun
ollama:
image: ollama/ollama:0.24.0@sha256:a6149234667efc71d37766d61c1a16f24c33e4cd7a0bf4125c44a7e47e2419c4
container_name: ollama
environment:
- OLLAMA_KEEP_ALIVE=24h
restart: always
deploy:
resources:
reservations:
devices:
- driver: nvidia
capabilities: ["gpu"]
count: all
volumes:
- ollama:/root/.ollama
volumes:
tailscale:
ollama: