BrowserUse_and_ComputerUse_.../docker-compose.yml
Кобылкевич Фёдор aa7927a316 update skill
2026-03-26 23:28:35 +03:00

49 lines
No EOL
1.2 KiB
YAML

services:
chromium:
image: ghcr.io/browserless/chromium:latest
container_name: hermes-chromium
restart: unless-stopped
environment:
- TOKEN=hermes-local
- TIMEOUT=120000
- CONCURRENT=5
shm_size: 1gb
ports:
- "3000:3000"
chromium-gui:
build:
context: ./docker/chromium-gui
container_name: hermes-chromium-gui
restart: unless-stopped
shm_size: 1gb
ports:
- "127.0.0.1:6080:6080"
- "127.0.0.1:5900:5900"
- "127.0.0.1:9223:9223"
healthcheck:
test: [ "CMD", "curl", "-fsS", "http://localhost:9223/json/version" ]
interval: 10s
timeout: 5s
retries: 6
hermes-agent:
build: .
container_name: hermes-agent
restart: unless-stopped
stdin_open: true
tty: true
depends_on:
- chromium
- chromium-gui
env_file:
- ./workspace/.env
- ./hermes_data/.env
environment:
- BROWSER_USE_CDP_URL=${BROWSER_USE_CDP_URL:-http://172.25.0.3:9223}
- BROWSER_USE_PYTHON=/opt/browser-use-venv/bin/python
volumes:
- ./workspace:/workspace
- ./hermes_data:/root/.hermes
working_dir: /workspace
command: [ "hermes", "gateway" ]