гих хук и сохранение изменений в контексте стори
This commit is contained in:
@@ -31,20 +31,23 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
image: rag-agent:latest
|
||||
container_name: rag-agent
|
||||
restart: "no"
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- "${WEBHOOK_PORT:-8000}:8000"
|
||||
environment:
|
||||
RAG_DB_DSN: "postgresql://${POSTGRES_USER:-rag}:${POSTGRES_PASSWORD:-rag_secret}@postgres:5432/${POSTGRES_DB:-rag}"
|
||||
RAG_REPO_PATH: ${RAG_REPO_PATH:-/data}
|
||||
RAG_EMBEDDINGS_DIM: ${RAG_EMBEDDINGS_DIM:-1536}
|
||||
GIGACHAT_CREDENTIALS: ${GIGACHAT_CREDENTIALS:-}
|
||||
GIGACHAT_EMBEDDINGS_MODEL: ${GIGACHAT_EMBEDDINGS_MODEL:-Embeddings}
|
||||
WEBHOOK_SECRET: ${WEBHOOK_SECRET:-}
|
||||
volumes:
|
||||
- ${RAG_REPO_PATH:-./data}:/data:ro
|
||||
- ${RAG_REPO_PATH:-./data}:/data
|
||||
entrypoint: ["rag-agent"]
|
||||
command: ["ask", "--help"]
|
||||
command: ["serve", "--host", "0.0.0.0", "--port", "8000"]
|
||||
networks:
|
||||
- rag_net
|
||||
|
||||
|
||||
Reference in New Issue
Block a user