Overview
Antigravity Manager provides a native headless Docker deployment with built-in Web UI hosting and API proxy capabilities. Perfect for NAS, servers, and containerized environments.Docker deployment automatically runs in headless mode with Web-based management instead of a desktop GUI.
System Requirements
Memory
- Minimum: 256MB RAM
- Recommended: 1GB RAM
Architecture
- x86_64 (amd64)
- ARM64 (aarch64)
Quick Start
Pull and Run (Recommended)
Pull the pre-built image from Docker Hub:Verify Installation
Check container logs to confirm startup:Environment Variables
API key for AI requests. Used by Claude Code CLI, OpenAI-compatible clients, etc.Alias:
ABV_API_KEYPassword for Web UI login. If not set, falls back to
API_KEY.Alias: ABV_WEB_PASSWORDMaximum request body size in bytes. Default is 100MB for handling large images.
Internal container port (usually don’t change this).
Logging verbosity:
debug, info, warn, or error.Bind to
127.0.0.1 only (localhost). Default is 0.0.0.0 (all interfaces) for Docker.Public URL for OAuth callbacks when behind reverse proxy (e.g.,
https://antigravity.example.com).Path to frontend static files (pre-configured in image).
Authentication mode:
Off, Strict, AllExceptHealth, or Auto.Alias: ABV_AUTH_MODEAuthentication Modes
- Scenario A: API_KEY Only
- Scenario B: Separate Passwords (Recommended)
- Web Login: Use
API_KEYas password - API Calls: Use
API_KEYinAuthorizationheader
Volume Mounts
Default Mount
- Account tokens and OAuth credentials
- Application configuration (
gui_config.json) - Proxy logs and statistics
- Token usage database
Custom Mount Location
Port Mapping
Default: 8045:8045
Standard port mapping for both Web UI and API
Custom: 3000:8045
Map host port 3000 to container port 8045
http://localhost:3000
Accessing the Container
- Web UI
- API Endpoints
- Health Check
Management Interface:Login with
WEB_PASSWORD (or API_KEY if password not set).Managing the Container
Finding Your Credentials
If you forgot your API key or password:- Docker Logs
- Configuration File
Building Custom Image
For development or customization:Build Arguments
auto: Auto-detect network and use mirrors if Google is unreachabletrue: Force use China mirrors (Aliyun, npm mirror)false: Use official sources only
Advanced Configuration
Network Mode: Host
For direct localhost access (Linux only):Custom Resource Limits
Upgrading from Old Versions
Troubleshooting
Container exits immediately
Container exits immediately
Check logs for errors:Common causes:
- Invalid environment variables
- Port 8045 already in use
- Permission issues with volume mount
Cannot access Web UI
Cannot access Web UI
-
Verify container is running:
-
Check port mapping:
-
Test from inside container:
API authentication fails
API authentication fails
Verify credentials in logs:Or check config:
High memory usage
High memory usage
Limit container memory:
Next Steps
Docker Compose
Deploy with Docker Compose for easier management
Headless Mode
Learn about headless-specific features and configurations
API Integration
Connect Claude CLI, OpenCode, and other clients
Reverse Proxy
Set up Nginx or Caddy for HTTPS and custom domains