2
0
mirror of https://github.com/acepanel/templates.git synced 2026-02-04 05:07:13 +08:00
Files
templates/ollama/docker-compose.yml
renovate[bot] e894583fc1 chore(deps): update docker images (minor/patch/digest) (#19)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-27 09:46:37 +00:00

20 lines
438 B
YAML

services:
ollama:
image: ollama/ollama:0.15.2
restart: unless-stopped
ports:
- ${OLLAMA_PORT_HTTP}:11434
networks:
- acepanel-network
tty: true
volumes:
- ./data:/root/.ollama
healthcheck:
test: ["CMD-SHELL", "curl -fsSL http://localhost:11434 || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
networks:
acepanel-network:
external: true