services: core: build: context: . dockerfile: core/Dockerfile image: agentforge-core:dev container_name: agentforge-core ports: - "8000:8000" env_file: - .env environment: DATA_DIR: /app/data AGENTS_DIR: /app/agents POLICIES_DIR: /app/policies volumes: - ./agents:/app/agents:ro - ./policies:/app/policies:ro - ./data:/app/data healthcheck: test: ["CMD", "curl", "-fsS", "http://localhost:8000/health"] interval: 10s timeout: 3s retries: 3 start_period: 15s restart: unless-stopped dashboard: build: context: . dockerfile: dashboard/Dockerfile image: agentforge-dashboard:dev container_name: agentforge-dashboard depends_on: core: condition: service_healthy ports: - "8501:8501" environment: AGENTFORGE_CORE_URL: http://core:8000 volumes: - ./agents:/app/agents:ro # para que el dashboard lea los escenarios restart: unless-stopped