mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 08:46:24 +02:00
move demo functions out of model_server (#67)
* pending * remove * fix docker build
This commit is contained in:
parent
ca5c9e4824
commit
31f26ef7ac
9 changed files with 122 additions and 50 deletions
|
|
@ -59,6 +59,17 @@ services:
|
|||
# uncomment following line to use ollama endpoint that is hosted by docker
|
||||
# - OLLAMA_ENDPOINT=ollama
|
||||
|
||||
api_server:
|
||||
build:
|
||||
context: api_server
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "18083:80"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl" ,"http://localhost:80/healthz"]
|
||||
interval: 5s
|
||||
retries: 20
|
||||
|
||||
ollama:
|
||||
image: ollama/ollama
|
||||
container_name: ollama
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue