1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-30 16:45:01 +08:00
renovate[bot] 518ae1e52f chore(deps): update localai/localai docker tag to v2.29.0 (#3893)
* chore(deps): update localai/localai docker tag to v2.29.0

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2025-05-13 17:24:11 +08:00

35 lines
939 B
YAML

services:
localai:
image: localai/localai:v2.29.0-aio-cpu
container_name: ${CONTAINER_NAME}
# For Nvidia GPUs decomment one of the following (cuda11 or cuda12):
# image: localai/localai:v2.25.0-aio-gpu-nvidia-cuda-11
# image: localai/localai:v2.25.0-aio-gpu-nvidia-cuda-12
# Decomment the following piece if running with Nvidia GPUs
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8080
environment:
- DEBUG=true
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/readyz"]
interval: 1m
timeout: 20m
retries: 5
volumes:
- ./data:/build/models:cached
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true