-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (39 loc) · 1016 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (39 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: '3.8'
services:
firefox-devtools-mcp:
build:
context: .
dockerfile: Dockerfile
image: firefox-devtools-mcp:latest
container_name: firefox-devtools-mcp
stdin_open: true
tty: true
environment:
- NODE_ENV=production
- RDP_HOST=127.0.0.1
- RDP_PORT=6000
- FIREFOX_HEADLESS=true
- AUTO_LAUNCH_FIREFOX=false
- VIEWPORT=1280x720
- DEBUG=
# If you want to connect to Firefox running on host
# network_mode: "host"
# Or expose RDP port
# ports:
# - "6000:6000"
volumes:
# Mount dist for quick testing
- ./dist:/app/dist:ro
restart: unless-stopped
# Optional: Firefox with RDP enabled for testing
firefox:
image: selenium/standalone-firefox:latest
container_name: firefox-rdp
ports:
- "6000:6000"
- "7900:7900" # VNC port for viewing
environment:
- SE_NODE_MAX_SESSIONS=1
- SE_NODE_SESSION_TIMEOUT=300
shm_size: 2gb
restart: unless-stopped