Бот работает
This commit is contained in:
@@ -58,6 +58,31 @@ services:
|
||||
networks:
|
||||
- rag_net
|
||||
|
||||
bot:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: rag-agent:latest
|
||||
container_name: rag-bot
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
RAG_DB_DSN: "postgresql://${POSTGRES_USER:-rag}:${POSTGRES_PASSWORD:-rag_secret}@postgres:5432/${POSTGRES_DB:-rag}"
|
||||
RAG_REPO_PATH: "/data"
|
||||
RAG_EMBEDDINGS_DIM: ${RAG_EMBEDDINGS_DIM:-1024}
|
||||
GIGACHAT_CREDENTIALS: ${GIGACHAT_CREDENTIALS:-}
|
||||
GIGACHAT_EMBEDDINGS_MODEL: ${GIGACHAT_EMBEDDINGS_MODEL:-Embeddings}
|
||||
TELEGRAM_BOT_TOKEN: ${TELEGRAM_BOT_TOKEN:-}
|
||||
RAG_BOT_VERBOSE_LOGGING: ${RAG_BOT_VERBOSE_LOGGING:-true}
|
||||
volumes:
|
||||
- ${RAG_REPO_HOST:-${RAG_REPO_PATH:-./data}}:/data
|
||||
entrypoint: ["rag-agent"]
|
||||
command: ["bot"]
|
||||
networks:
|
||||
- rag_net
|
||||
|
||||
networks:
|
||||
rag_net:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user