Skip to content

Instantly share code, notes, and snippets.

@harperreed
Created October 22, 2024 19:17
Show Gist options
  • Save harperreed/c4de8c722fee17df1f07c230ca90fc80 to your computer and use it in GitHub Desktop.
Save harperreed/c4de8c722fee17df1f07c230ca90fc80 to your computer and use it in GitHub Desktop.
Docker Compose for Anthropic Computer Use Demo
services:
anthropic-demo:
image: ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest
environment:
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY} # Use environment variable
volumes:
- ./config:/home/computeruse/.anthropic # Bind mount for the volume
ports:
- "5900:5900"
- "8501:8501"
- "6080:6080"
- "8080:8080"
stdin_open: true # Keep STDIN open
tty: true # Allocate a pseudo-TTY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment