services: kortix-suna: platform: linux/amd64 build: context: . dockerfile: ${DOCKERFILE:-Dockerfile} args: TARGETPLATFORM: ${TARGETPLATFORM:-linux/amd64} image: kortix/suna:0.1.3 ports: - "6080:6080" # noVNC web interface - "5901:5901" # VNC port - "9222:9222" # Chrome remote debugging port - "8003:8003" # API server port - "8080:8080" # HTTP server port environment: - ANONYMIZED_TELEMETRY=${ANONYMIZED_TELEMETRY:-false} - CHROME_PATH=/usr/bin/google-chrome - CHROME_USER_DATA=/app/data/chrome_data - CHROME_PERSISTENT_SESSION=${CHROME_PERSISTENT_SESSION:-false} - CHROME_CDP=${CHROME_CDP:-http://localhost:9222} - DISPLAY=:99 - PLAYWRIGHT_BROWSERS_PATH=/ms-playwright - RESOLUTION=${RESOLUTION:-1024x768x24} - RESOLUTION_WIDTH=${RESOLUTION_WIDTH:-1024} - RESOLUTION_HEIGHT=${RESOLUTION_HEIGHT:-768} - VNC_PASSWORD=${VNC_PASSWORD:-vncpassword} - CHROME_DEBUGGING_PORT=9222 - CHROME_DEBUGGING_HOST=localhost - CHROME_FLAGS=${CHROME_FLAGS:-"--single-process --no-first-run --no-default-browser-check --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-component-extensions-with-background-pages --disable-dev-shm-usage --disable-extensions --disable-features=TranslateUI --disable-ipc-flooding-protection --disable-renderer-backgrounding --enable-features=NetworkServiceInProcess2 --force-color-profile=srgb --metrics-recording-only --mute-audio --no-sandbox --disable-gpu"} volumes: - /tmp/.X11-unix:/tmp/.X11-unix restart: unless-stopped shm_size: '2gb' cap_add: - SYS_ADMIN security_opt: - seccomp=unconfined tmpfs: - /tmp healthcheck: test: ["CMD", "nc", "-z", "localhost", "5901"] interval: 10s timeout: 5s retries: 3