1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-05-06 10:10:23 +08:00
renovate[bot] b6cfaff5b8 chore(deps): update localai/localai docker tag to v3 (#4175)
* chore(deps): update localai/localai docker tag to v3

* 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-06-22 22:13:57 +08:00

35 lines
938 B
YAML

services:
localai:
image: localai/localai:v3.0.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