chore: compose polish for Coolify + complete .env.example
This commit is contained in:
+12
-8
@@ -1,20 +1,23 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
agent-platform:
|
||||
build: ./agent_platform
|
||||
container_name: agent-platform
|
||||
ports:
|
||||
- "8000:8000"
|
||||
expose:
|
||||
- "8000"
|
||||
environment:
|
||||
- HOST=${HOST:-0.0.0.0}
|
||||
- PORT=${PORT:-8000}
|
||||
- LLM_PROVIDER=${LLM_PROVIDER:-openrouter}
|
||||
- LLM_API_KEY=${LLM_API_KEY}
|
||||
- LLM_MODEL=${LLM_MODEL:-anthropic/claude-3.5-sonnet}
|
||||
- LLM_API_BASE=${LLM_API_BASE:-}
|
||||
- MCP_SERVER_URL=http://mcp-tools:8501/mcp
|
||||
- MCP_SERVER_URL=${MCP_SERVER_URL:-http://mcp-tools:8501/mcp}
|
||||
- MCP_TIMEOUT=${MCP_TIMEOUT:-10}
|
||||
- AUTH_TOKEN=${AUTH_TOKEN}
|
||||
- DB_PATH=/data/agent-platform.db
|
||||
- DB_PATH=${DB_PATH:-/data/agent-platform.db}
|
||||
- LOG_LEVEL=${LOG_LEVEL:-info}
|
||||
- MAX_HISTORY_MESSAGES=${MAX_HISTORY_MESSAGES:-10}
|
||||
- MAX_PARALLEL_AGENTS=${MAX_PARALLEL_AGENTS:-5}
|
||||
- AGENT_IDLE_TIMEOUT_SEC=${AGENT_IDLE_TIMEOUT_SEC:-300}
|
||||
volumes:
|
||||
- agent-data:/data
|
||||
depends_on:
|
||||
@@ -29,6 +32,7 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- agent-net
|
||||
# Informational only in docker compose standalone; apply via Coolify per-container limits UI
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@@ -37,7 +41,6 @@ services:
|
||||
|
||||
mcp-tools:
|
||||
build: ./mcp_tools
|
||||
container_name: mcp-tools
|
||||
expose:
|
||||
- "8501"
|
||||
environment:
|
||||
@@ -52,6 +55,7 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- agent-net
|
||||
# Informational only in docker compose standalone; apply via Coolify per-container limits UI
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
|
||||
Reference in New Issue
Block a user