mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 08:53:36 +00:00
Fixes #725 AI agents in automated testing mode require Playwright to verify implementations, but Docker containers had only system dependencies installed, not browser binaries. This caused verification failures with permissions errors. Changes: - Install Playwright Chromium in Dockerfile (~300MB increase) - Update docker-compose.override.yml.example with clearer Playwright documentation - Add "Playwright for Automated Testing" section to README - Document optional volume mount for persisting browsers across rebuilds Browsers are now pre-installed and work out of the box for Docker users. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
48 lines
2.1 KiB
Plaintext
48 lines
2.1 KiB
Plaintext
services:
|
|
server:
|
|
volumes:
|
|
# Mount your workspace directory to /projects inside the container
|
|
# Example: mount your local /workspace to /projects inside the container
|
|
- /Users/webdevcody/Workspace/automaker-workspace:/projects:rw
|
|
|
|
# ===== CLI Authentication (Optional) =====
|
|
# Mount host CLI credentials to avoid re-authenticating in container
|
|
|
|
# Claude CLI - mount your ~/.claude directory (Linux/Windows)
|
|
# This shares your 'claude login' OAuth session with the container
|
|
# - ~/.claude:/home/automaker/.claude
|
|
|
|
# Cursor CLI - mount your ~/.cursor directory (Linux/Windows)
|
|
# This shares your 'cursor-agent login' OAuth session with the container
|
|
# - ~/.cursor:/home/automaker/.cursor
|
|
|
|
# OpenCode CLI - mount your ~/.local/share/opencode directory
|
|
# This shares your 'opencode auth login' session with the container
|
|
# - ~/.local/share/opencode:/home/automaker/.local/share/opencode
|
|
# - ~/.config/opencode:/home/automaker/.config/opencode
|
|
|
|
# ===== Playwright Browser Cache (Optional) =====
|
|
# Playwright Chromium is PRE-INSTALLED in the Docker image for automated testing.
|
|
# Uncomment below to persist browser cache across container rebuilds (saves ~300MB download):
|
|
# - playwright-cache:/home/automaker/.cache/ms-playwright
|
|
#
|
|
# To update Playwright browsers manually:
|
|
# docker exec automaker-server npx playwright install chromium
|
|
environment:
|
|
# Set root directory for all projects and file operations
|
|
# Users can only create/open projects within this directory
|
|
- ALLOWED_ROOT_DIRECTORY=/projects
|
|
- NODE_ENV=development
|
|
|
|
# ===== macOS Users =====
|
|
# On macOS, OAuth tokens are stored in SQLite databases, not plain files.
|
|
# Extract your Cursor token with: ./scripts/get-cursor-token.sh
|
|
# Then set it here or in your .env file:
|
|
# - CURSOR_API_KEY=${CURSOR_API_KEY:-}
|
|
|
|
volumes:
|
|
# Playwright cache volume - optional, persists browser updates across container rebuilds
|
|
# Uncomment if you mounted the playwright-cache volume above
|
|
# playwright-cache:
|
|
# name: automaker-playwright-cache
|