playwright docker mcp with vnc

This commit is contained in:
2025-06-30 16:49:57 -06:00
parent b3016e0f0b
commit 68384c17cf
2 changed files with 3 additions and 5 deletions

View File

@@ -24,9 +24,9 @@ services:
dockerfile: novnc.Dockerfile
container_name: playwrite_novnc
ports:
- "6080:6080" # noVNC web access
- "3903:3903"
depends_on:
- playwright
# restart: always
command: >
websockify --web=/opt/novnc --wrap-mode=ignore 6080 playwrite_mcp:5900
websockify --web=/opt/novnc --wrap-mode=ignore 3903 playwrite_mcp:5900

View File

@@ -9,5 +9,3 @@ RUN apt-get update && \
WORKDIR /opt/novnc
RUN echo '<!DOCTYPE html><html><head><meta http-equiv="refresh" content="0; url=/vnc.html"></head><body></body></html>' > /opt/novnc/index.html
EXPOSE 6080
CMD ["websockify", "--web=/opt/novnc", "6080", "playwright:5900"]