mirror of
https://github.com/hoshikawa2/agent_platform_oci.git
synced 2026-07-09 14:04:19 +00:00
First commit
This commit is contained in:
46
docker-compose.yml
Normal file
46
docker-compose.yml
Normal file
@@ -0,0 +1,46 @@
|
||||
services:
|
||||
|
||||
agent-gateway:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: agent_gateway/Dockerfile
|
||||
env_file: agent_gateway/.env.example
|
||||
environment:
|
||||
BACKENDS_CONFIG_PATH: /app/config/backends.yaml
|
||||
# Ajuste estas URLs quando subir múltiplos backends reais.
|
||||
# Em Docker, localhost dentro do container aponta para o próprio gateway.
|
||||
# Use nomes de serviço Docker/OKE, ex.: http://backend-contas:8000
|
||||
ports:
|
||||
- "8010:8010"
|
||||
|
||||
telecom-mcp:
|
||||
build:
|
||||
context: ./mcp_servers/telecom_mcp_server
|
||||
ports:
|
||||
- "8100:8100"
|
||||
|
||||
retail-mcp:
|
||||
build:
|
||||
context: ./mcp_servers/retail_mcp_server
|
||||
ports:
|
||||
- "8200:8200"
|
||||
|
||||
backend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: agent_template_backend/Dockerfile
|
||||
env_file: .env
|
||||
environment:
|
||||
MCP_SERVERS_CONFIG_PATH: /app/config/mcp_servers.docker.yaml
|
||||
ports:
|
||||
- "8000:8000"
|
||||
depends_on:
|
||||
- telecom-mcp
|
||||
- retail-mcp
|
||||
|
||||
frontend:
|
||||
image: nginx:alpine
|
||||
volumes:
|
||||
- ./agent_frontend:/usr/share/nginx/html:ro
|
||||
ports:
|
||||
- "5173:80"
|
||||
Reference in New Issue
Block a user