File size: 995 Bytes
2a0f014
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
services:
  # El Cerebro - FastAPI
  vertex-backend:
    build: .
    container_name: vertex-backend
    ports:
      - "8010:8010"
    volumes:
      - .:/app  # Mapea la carpeta actual al /app del contenedor
    restart: always

  # El Dashboard - Streamlit
  vertex-dashboard:
    build: .
    container_name: vertex-dashboard
    command: streamlit run app/dashboard.py --server.port 8501 --server.address 0.0.0.0
    ports:
      - "8501:8501"
    volumes:
      - .:/app  # Mapea la misma carpeta para que compartan el settings.json
    depends_on:
      - vertex-backend
    restart: always

  # El Vigilante - n8n
  vertex-n8n:
    image: n8nio/n8n:latest
    container_name: vertex-n8n
    ports:
      - "5678:5678"
    environment:
      - N8N_TIMEZONE=America/New_York
    volumes:
      - n8n_data:/home/node/.n8n
      - .:/app  # Opcional: n8n también podrá leer archivos directamente si hace falta
    restart: always

volumes:
  n8n_data: