-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
I share with you the file "docker-compose.yml" that is not working well, because I can´t get in to http://localhost:9992
services:
1. EL BANCO CENTRAL DE SECRETOS (MCP - VAULT)
vault:
image: hashicorp/vault:latest
container_name: hashicorp-vault
environment:
- VAULT_ADDR=http://0.0.0.0:8200
- VAULT_DEV_ROOT_TOKEN_ID=dev-token-bytebot
- VAULT_DEV_LISTEN_ADDRESS=0.0.0.0:8200
ports:
- "8200:8200"
cap_add:
- IPC_LOCK
2. EL ORQUESTADOR CENTRAL (N8N - EL GERENTE)
n8n:
image: n8nio/n8n
container_name: n8n-orquestador
environment:
- N8N_HOST=localhost
- N8N_PORT=5678
- N8N_PROTOCOL=http
- GENERIC_TIMEZONE=America/Santiago
ports:
- "5678:5678"
volumes:
- n8n_vol:/home/node/.n8n
3. LA BASE DE DATOS (POSTGRES - LA COLA DE TAREAS)
postgres:
image: postgres:16-alpine
restart: always
environment:
- POSTGRES_USER=bytebot_user
- POSTGRES_PASSWORD=bytebot_password_secure
- POSTGRES_DB=bytebot_db
volumes:
- postgres_vol:/var/lib/postgresql/data
4. EL GESTOR DE RECURSOS (BYTEBOT AGENT - EL SUPERVISOR)
bytebot-agent:
image: ghcr.io/bytebot-ai/bytebot-agent:edge
restart: always
depends_on:
- postgres
- vault
healthcheck:
disable: true # Desactivar healthcheck problemático
environment:
# SIN COMILLAS
- DATABASE_URL=postgresql://bytebot_user:bytebot_password_secure@postgres:5432/bytebot_db
# CON COMILLAS (Asegúrate de que tus claves reales estén aquí y en UNA SOLA LÍNEA)
- ANTHROPIC_API_KEY='sk-ant-...............gAA'
- OPENAI_API_KEY='sk-proj-.....................QeIA'
- GEMINI_API_KEY='AIz.................................Vv4'
- BYTEBOT_AGENT_URL='http://bytebot-agent:3000'
ports:
- "3000:3000"
5. LA INTERFAZ WEB (UI) - ¡CORREGIDA Y LIMPIA!
bytebot-ui:
image: ghcr.io/bytebot-ai/bytebot-ui:edge
restart: always
depends_on:
- bytebot-agent # Dependencia simple
ports:
- "9992:3000" # Acceso a la UI de Bytebot
environment:
- BYTEBOT_AGENT_URL='http://bytebot-agent:3000'
6. LOS 5 EMPLEADOS DIGITALES (AGENTES DE ESCRITORIO)
bytebot-desktop-1:
image: ghcr.io/bytebot-ai/bytebot-desktop:edge
restart: always
depends_on:
- bytebot-agent
environment:
- BYTEBOT_AGENT_URL='http://bytebot-agent:3000'
ports: [ "7001:3000" ]
bytebot-desktop-2:
image: ghcr.io/bytebot-ai/bytebot-desktop:edge
restart: always
depends_on:
- bytebot-agent
environment:
- BYTEBOT_AGENT_URL='http://bytebot-agent:3000'
ports: [ "7002:3000" ]
bytebot-desktop-3:
image: ghcr.io/bytebot-ai/bytebot-desktop:edge
restart: always
depends_on:
- bytebot-agent
environment:
- BYTEBOT_AGENT_URL='http://bytebot-agent:3000'
ports: [ "7003:3000" ]
bytebot-desktop-4:
image: ghcr.io/bytebot-ai/bytebot-desktop:edge
restart: always
depends_on:
- bytebot-agent
environment:
- BYTEBOT_AGENT_URL='http://bytebot-agent:3000'
ports: [ "7004:3000" ]
bytebot-desktop-5:
image: ghcr.io/bytebot-ai/bytebot-desktop:edge
restart: always
depends_on:
- bytebot-agent
environment:
- BYTEBOT_AGENT_URL='http://bytebot-agent:3000'
ports: [ "7005:3000" ]
DECLARACIÓN DE VOLÚMENES NOMBRADOS
volumes:
postgres_vol:
n8n_vol: