fix: connect Peg to local AI runtime
MetaBloom CI / app (push) Canceled after 0s
MetaBloom CI / api (push) Canceled after 0s

This commit is contained in:
AI Company
2026-07-21 22:06:38 +00:00
parent 02e24cbc92
commit 0c2430ad13
7 changed files with 50 additions and 8 deletions
+8 -1
View File
@@ -6,10 +6,15 @@ services:
JWT_SECRET: ${JWT_SECRET}
ENVIRONMENT: production
ALLOWED_ORIGINS: ${ALLOWED_ORIGINS:-http://localhost:8081}
AI_BASE_URL: ${AI_BASE_URL:-http://ollama:11434/v1}
AI_MODEL: ${AI_MODEL:-qwen2.5:1.5b}
AI_API_KEY: ${AI_API_KEY:-}
AI_TIMEOUT_SECONDS: ${AI_TIMEOUT_SECONDS:-90}
depends_on:
db:
condition: service_healthy
ports: ["127.0.0.1:8000:8000"]
networks: [default, ai-company]
db:
image: postgres:16-alpine
environment:
@@ -24,4 +29,6 @@ services:
retries: 10
volumes:
postgres_data:
networks:
ai-company:
external: true