1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 17:51:24 +00:00
dockerfiles/webkit/README.md

28 lines
604 B
Markdown
Raw Normal View History

2014-12-25 12:57:48 +00:00
WebKit/PhantomJS
================
> A simple web-service based on PhantomJS for rendering javascript-enabled website.
2014-12-24 12:00:36 +00:00
## server
2014-12-29 11:48:37 +00:00
docker run -d --restart=always -p 80:80 -p 1024:1024 -p 2812:2812 -p 9001:9001 --name=webkit vimagick/webkit
2014-12-24 12:00:36 +00:00
## client
2014-12-25 10:35:53 +00:00
http :1024 targetUrl=https://github.com/
2014-12-25 12:57:48 +00:00
http :1024 targetUrl=https://github.com/ loadImages:=true requestType=png
2014-12-24 12:00:36 +00:00
2014-12-25 10:35:53 +00:00
## admin
2014-12-25 12:57:48 +00:00
# monit
firefox http://localhost:2812/
# supervisor
firefox http://localhost:9001/
# haproxy
firefox http://localhost:1024/haproxy?stats
## issues
2014-12-29 11:48:37 +00:00
- send back html+image at the same time
2014-12-25 12:57:48 +00:00