fix: Set PROMPTS_PATH=/prompts in API and worker containers
This commit is contained in:
parent
4aa4b08a7f
commit
8e96fae64f
1 changed files with 2 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ services:
|
|||
REDIS_URL: redis://chrysopedia-redis:6379/0
|
||||
QDRANT_URL: http://chrysopedia-qdrant:6333
|
||||
EMBEDDING_API_URL: http://chrysopedia-ollama:11434/v1
|
||||
PROMPTS_PATH: /prompts
|
||||
volumes:
|
||||
- /vmPool/r/services/chrysopedia_data:/data
|
||||
- ./config:/config:ro
|
||||
|
|
@ -123,6 +124,7 @@ services:
|
|||
REDIS_URL: redis://chrysopedia-redis:6379/0
|
||||
QDRANT_URL: http://chrysopedia-qdrant:6333
|
||||
EMBEDDING_API_URL: http://chrysopedia-ollama:11434/v1
|
||||
PROMPTS_PATH: /prompts
|
||||
command: ["celery", "-A", "worker", "worker", "--loglevel=info", "--concurrency=2"]
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "celery -A worker inspect ping --timeout=5 2>/dev/null | grep -q pong || exit 1"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue