backend:
image:simpleyyt/manus-backend
depends_on:
-sandbox
restart:unless-stopped
volumes:
-/var/run/docker.sock:/var/run/docker.sock:ro
networks:
-manus-network
environment:
# OpenAI API base URL
-API_BASE=https://api.openai.com/v1
# OpenAI API key, replace with your own
-API_KEY=sk-xxxx
# LLM model name
-MODEL_NAME=gpt-4o
# LLM temperature parameter, controls randomness
-TEMPERATURE=0.7
# Maximum tokens for LLM response
-MAX_TOKENS=2000
# Google Search API key for web search capability
#- GOOGLE_SEARCH_API_KEY=
# Google Custom Search Engine ID
#- GOOGLE_SEARCH_ENGINE_ID=
# Application log level
-LOG_LEVEL=INFO
# Docker image used for the sandbox
-SANDBOX_IMAGE=simpleyyt/manus-sandbox
# Prefix for sandbox container names
-SANDBOX_NAME_PREFIX=sandbox
# Time-to-live for sandbox containers in minutes
-SANDBOX_TTL_MINUTES=30
# Docker network for sandbox containers
-SANDBOX_NETWORK=manus-network
sandbox:
image:simpleyyt/manus-sandbox
co妹妹and:/bin/sh-c"exit 0"# prevent sandbox from starting, ensure image is pulled
restart:"no"
networks:
-manus-network
networks:
manus-network:
name:manus-network
driver: bridge
保留成docker-compose.yml文献,并运行
docker compose up -d
留神:假设提醒sandbox-1 exited with code 0,那是一般的,那是为了让 sandbox 镜像胜利推与到当地。