Add ARM64 support for M-series Mac with optimized Docker configurations

This commit is contained in:
Sheldon Aristide
2025-01-25 13:32:39 -05:00
parent 5bc4978fa5
commit e4a3f84c99
6 changed files with 128 additions and 32 deletions

View File

@@ -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