playwright docker mcp with vnc
This commit is contained in:
@@ -24,9 +24,9 @@ services:
|
|||||||
dockerfile: novnc.Dockerfile
|
dockerfile: novnc.Dockerfile
|
||||||
container_name: playwrite_novnc
|
container_name: playwrite_novnc
|
||||||
ports:
|
ports:
|
||||||
- "6080:6080" # noVNC web access
|
- "3903:3903"
|
||||||
depends_on:
|
depends_on:
|
||||||
- playwright
|
- playwright
|
||||||
# restart: always
|
# restart: always
|
||||||
command: >
|
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
|
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
|
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