FIX(app): improve research_agent information retrieval
- Change execute_host to execute_bash (run kubectl in container) - Return natural language instead of JSON in Information Query mode - Add command guide for storage/memory distinction - Improve to user-friendly response format
This commit is contained in:
@@ -1,73 +0,0 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
mas:
|
||||
build: ../../services/backend
|
||||
container_name: mas
|
||||
ports:
|
||||
- "8000:8000"
|
||||
environment:
|
||||
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
||||
# Groq API (OpenAI-compatible)
|
||||
- GROQ_API_KEY=${GROQ_API_KEY}
|
||||
- GROQ_API_BASE=${GROQ_API_BASE:-https://api.groq.com/openai/v1}
|
||||
# (optional) keep other providers
|
||||
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
||||
- GOOGLE_API_KEY=${GOOGLE_API_KEY}
|
||||
- DATABASE_URL=postgresql+asyncpg://mas:mas@postgres:5432/mas
|
||||
- REDIS_URL=redis://redis:6379/0
|
||||
depends_on:
|
||||
- redis
|
||||
- postgres
|
||||
- ollama
|
||||
volumes:
|
||||
- ../../services/backend:/app
|
||||
networks:
|
||||
- mas-network
|
||||
|
||||
# Ollama (로컬 Qwen 모델)
|
||||
ollama:
|
||||
image: ollama/ollama:latest
|
||||
container_name: mas-ollama
|
||||
ports:
|
||||
- "11434:11434"
|
||||
volumes:
|
||||
- ollama-data:/root/.ollama
|
||||
networks:
|
||||
- mas-network
|
||||
|
||||
# PostgreSQL
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
container_name: mas-postgres
|
||||
environment:
|
||||
POSTGRES_DB: mas
|
||||
POSTGRES_USER: mas
|
||||
POSTGRES_PASSWORD: mas
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- mas-network
|
||||
|
||||
# Redis
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
container_name: mas-redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
networks:
|
||||
- mas-network
|
||||
|
||||
volumes:
|
||||
ollama-data:
|
||||
postgres-data:
|
||||
redis-data:
|
||||
|
||||
networks:
|
||||
mas-network:
|
||||
driver: bridge
|
||||
|
||||
@@ -14,5 +14,5 @@ commonLabels:
|
||||
# 이미지 태그 설정 (ArgoCD Image Updater가 자동으로 업데이트)
|
||||
images:
|
||||
- name: gitea0213.kro.kr/bluemayne/mas
|
||||
newTag: main-sha-83c852831c0f4ec6a4ee69f7c99d4d1277271975
|
||||
newTag: main-sha-de29acaace047feffd9c49df79e7790b36aef91f
|
||||
|
||||
|
||||
Reference in New Issue
Block a user