3.5 KiB
3.5 KiB
Skyvern
Quick start: https://docs.skyvern.com.
This service deploys Skyvern, an AI-powered browser automation platform that uses LLMs and computer vision to execute tasks in web browsers. It can fill forms, navigate websites, and complete multi-step workflows without custom scripts.
Services
- skyvern: The Skyvern API server with embedded Playwright + Chromium.
- skyvern-ui: React-based web UI for task management and browser session viewing.
- postgres: PostgreSQL database for task history and state.
Quick Start
-
Copy
.env.exampleto.env:cp .env.example .env -
Set your LLM API key and change the Skyvern API key in
.env:SKYVERN_API_KEY=your-strong-api-key OPENAI_API_KEY=sk-... -
Start the services:
docker compose up -d -
Open
http://localhost:8080for the web UI, or send tasks to the API athttp://localhost:8000.
Core Environment Variables
| Variable | Description | Default |
|---|---|---|
SKYVERN_VERSION |
Image version (applies to both skyvern and skyvern-ui) | v1.0.31 |
SKYVERN_PORT_OVERRIDE |
Host port for the API | 8000 |
SKYVERN_UI_PORT_OVERRIDE |
Host port for the web UI | 8080 |
SKYVERN_API_KEY |
API key for authenticating requests to the Skyvern server — CHANGEME | placeholder |
BROWSER_TYPE |
Browser type: chromium-headless, chromium, or chrome |
chromium-headless |
OPENAI_API_KEY |
OpenAI API key (recommended for best results) | (empty) |
ANTHROPIC_API_KEY |
Anthropic API key (alternative to OpenAI) | (empty) |
POSTGRES_PASSWORD |
PostgreSQL password | skyvern |
VITE_API_BASE_URL |
Skyvern API URL as seen from the user's browser | http://localhost:8000 |
VITE_WSS_BASE_URL |
WebSocket URL for live session streaming | ws://localhost:8000 |
Volumes
skyvern_artifacts: Downloaded files and task artifacts.skyvern_videos: Browser session recordings.skyvern_har: HTTP Archive (HAR) files for debugging.skyvern_postgres_data: PostgreSQL data persistence.
Ports
- 8000: Skyvern REST API
- 8080: Skyvern web UI
Resource Requirements
| Service | CPU Limit | Memory Limit |
|---|---|---|
| skyvern | 2 | 4 GB |
| skyvern-ui | 0.5 | 256 MB |
| postgres | 1 | 1 GB |
The skyvern service includes Playwright and Chromium. Allocate 4+ GB RAM and 2+ CPU cores for reliable browser automation.
Notes
- Database migrations run automatically on startup via Alembic.
- If deploying behind a reverse proxy, update
VITE_API_BASE_URLandVITE_WSS_BASE_URLto your public domain. - The
SKYVERN_API_KEYmust be included in API requests as thex-api-keyheader.