How to install it using docker? How to install the lasted version of the repo using…
- User
How to install it using docker? How to install the lasted version of the repo using docker?
Assistant
Based on the repository documentation, I'll explain how to install the web-ui using Docker:
- First, clone the latest version of the repository:
bashgit clone https://github.com/browser-use/web-ui.git cd web-ui- Copy and configure the environment variables:
bashcp .env.example .env # Edit .env with your preferred text editor to add your API keys- Run with Docker Compose:
- For default settings (browser closes after AI tasks):
bashdocker compose up --build- Or if you want the browser to stay open between AI tasks:
bashCHROME_PERSISTENT_SESSION=true docker compose up --build- Once running, you can access the application at:
- WebUI:
http://localhost:7788 - VNC Viewer (to see browser interactions):
http://localhost:6080/vnc.html- Default VNC password is "vncpassword" (you can change this in the .env file using VNC_PASSWORD variable)
Important environment variables you can configure in your .env file:
code# LLM API Keys OPENAI_API_KEY=your_key_here ANTHROPIC_API_KEY=your_key_here GOOGLE_API_KEY=your_key_here # Browser Settings CHROME_PERSISTENT_SESSION=true # To keep browser open between AI tasks RESOLUTION=1920x1080x24 # Custom resolution VNC_PASSWORD=your_vnc_password # Custom VNC passwordTo manage the container:
bash# View logs docker compose logs -f # Stop the container [Redacted Person] compose downThe Docker setup includes features like VNC viewing of browser interactions, persistent browser sessions, and support for various LLM APIs including OpenAI, Anthropic, Google, and DeepSeek.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.