Use marco-o1 for defaults
This commit is contained in:
@@ -1,14 +1,21 @@
|
|||||||
version: "3.9"
|
|
||||||
services:
|
services:
|
||||||
api:
|
api:
|
||||||
image: localai/localai:latest-aio-cpu
|
# See https://localai.io/basics/getting_started/#container-images for
|
||||||
|
# a list of available container images (or build your own with the provided Dockerfile)
|
||||||
|
# Available images with CUDA, ROCm, SYCL, Vulkan
|
||||||
|
# Image list (quay.io): https://quay.io/repository/go-skynet/local-ai?tab=tags
|
||||||
|
# Image list (dockerhub): https://hub.docker.com/r/localai/localai
|
||||||
|
image: localai/localai:latest-cpu
|
||||||
|
command:
|
||||||
|
- marco-o1
|
||||||
|
- bert-embeddings
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8080/readyz"]
|
test: ["CMD", "curl", "-f", "http://localhost:8080/readyz"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 20m
|
timeout: 20m
|
||||||
retries: 20
|
retries: 20
|
||||||
# ports:
|
ports:
|
||||||
# - 8080:8080
|
- 8081:8080
|
||||||
environment:
|
environment:
|
||||||
- DEBUG=true
|
- DEBUG=true
|
||||||
volumes:
|
volumes:
|
||||||
@@ -25,18 +32,14 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
api:
|
api:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
# See https://localai.io/basics/getting_started/#container-images for
|
|
||||||
# a list of available container images (or build your own with the provided Dockerfile)
|
|
||||||
# Available images with CUDA, ROCm, SYCL
|
|
||||||
# Image list (quay.io): https://quay.io/repository/go-skynet/local-ai?tab=tags
|
|
||||||
# Image list (dockerhub): https://hub.docker.com/r/localai/localai
|
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile.webui
|
dockerfile: Dockerfile.webui
|
||||||
ports:
|
ports:
|
||||||
- 8080:3000
|
- 8080:3000
|
||||||
environment:
|
environment:
|
||||||
- TEST_MODEL=gpt-4
|
- TEST_MODEL=marco-o1
|
||||||
|
- EMBEDDING_MODEL=bert-embeddings
|
||||||
- API_URL=http://api:8080
|
- API_URL=http://api:8080
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/:/pool
|
- ./data/:/pool
|
||||||
|
|||||||
Reference in New Issue
Block a user