mirror of
https://github.com/browser-use/web-ui.git
synced 2026-03-22 11:17:17 +08:00
Add ARM64 support for M-series Mac with optimized Docker configurations
This commit is contained in:
@@ -2,11 +2,13 @@ services:
|
||||
browser-use-webui:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
dockerfile: ${DOCKERFILE:-Dockerfile}
|
||||
args:
|
||||
TARGETPLATFORM: ${TARGETPLATFORM:-linux/amd64}
|
||||
ports:
|
||||
- "7788:7788" # Gradio default port
|
||||
- "6080:6080" # noVNC web interface
|
||||
- "5900:5900" # VNC port
|
||||
- "6080:6081" # noVNC web interface
|
||||
- "5901:5901" # VNC port
|
||||
- "9222:9222" # Chrome remote debugging port
|
||||
environment:
|
||||
- OPENAI_ENDPOINT=${OPENAI_ENDPOINT:-https://api.openai.com/v1}
|
||||
@@ -41,7 +43,7 @@ services:
|
||||
tmpfs:
|
||||
- /tmp
|
||||
healthcheck:
|
||||
test: ["CMD", "nc", "-z", "localhost", "5900"]
|
||||
test: ["CMD", "nc", "-z", "localhost", "5901"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
Reference in New Issue
Block a user