Skip to content

feat: add Docker GUI support with VNC and noVNC#2484

Open
MukundaKatta wants to merge 1 commit intoelebumm:masterfrom
MukundaKatta:feat/docker-gui-support
Open

feat: add Docker GUI support with VNC and noVNC#2484
MukundaKatta wants to merge 1 commit intoelebumm:masterfrom
MukundaKatta:feat/docker-gui-support

Conversation

@MukundaKatta
Copy link
Copy Markdown

Summary

  • Added Dockerfile.gui with Xvfb, VNC (x11vnc), and noVNC for running the bot with a visible browser inside Docker
  • Added docker-gui-entrypoint.sh that starts virtual display, window manager, VNC server, and noVNC web client
  • Added docker-compose.gui.yml for easy startup with port mappings
  • Playwright chromium installed with system dependencies

Usage

# Build and run with GUI
docker compose -f docker-compose.gui.yml up --build

# Access the GUI
# VNC client: vnc://localhost:5900
# Web browser: http://localhost:6080/vnc.html

The existing headless Dockerfile is preserved unchanged.

Fixes #2321

Adds Dockerfile.gui with Xvfb, VNC, and noVNC for running the bot
with a visible browser in Docker:
- Xvfb virtual framebuffer for headless display
- x11vnc for VNC access
- noVNC for browser-based access at http://localhost:6080
- Playwright chromium with system dependencies
- docker-compose.gui.yml for easy startup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Docker GUI support

1 participant