Fix IPC
All checks were successful
Build and Publish college-bot-v2 / build_and_publish (push) Successful in 14s
All checks were successful
Build and Publish college-bot-v2 / build_and_publish (push) Successful in 14s
This commit is contained in:
parent
4ccc1a6c3d
commit
9b6b3e9027
2 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ services:
|
|||
- ./jimmy.log:/app/jimmy.log
|
||||
- /dev/dri:/dev/dri
|
||||
- jimmy-data:/app/data
|
||||
- ./ipc:/tmp/college-bot-ipc
|
||||
- ./ipc/:/tmp/ipc/
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
depends_on:
|
||||
|
@ -19,10 +19,10 @@ services:
|
|||
image: git.i-am.nexus/nex/college-bot:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./ipc:/tmp/college-bot-ipc
|
||||
- ./ipc/:/tmp/ipc/
|
||||
depends_on:
|
||||
- jimmy
|
||||
command: ["python", "server.py"]
|
||||
command: ["/app/venv/bin/uvicorn", "--host", "0.0.0.0", "--port", "1111", "server:app"]
|
||||
ollama:
|
||||
image: ollama/ollama:latest
|
||||
container_name: ollama
|
||||
|
|
|
@ -12,7 +12,7 @@ from fastapi.responses import JSONResponse
|
|||
from fastapi.security import HTTPBasic, HTTPBasicCredentials
|
||||
from pydantic import BaseModel, Field, ValidationError
|
||||
|
||||
FIFO = "/tmp/college-bot-ipc"
|
||||
FIFO = "/tmp/ipc/ipc.socket"
|
||||
JSON: typing.Union[
|
||||
str, int, float, bool, None, typing.Dict[str, "JSON"], typing.List["JSON"]
|
||||
] = typing.Union[
|
||||
|
|
Loading…
Reference in a new issue