playwright docker mcp with vnc
This commit is contained in:
@@ -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
|
||||
@@ -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"]
|
||||
Reference in New Issue
Block a user