1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00
dockerfiles/webkit/README.md

28 lines
604 B
Markdown
Raw Normal View History

2014-12-25 14:57:48 +02:00
WebKit/PhantomJS
================
> A simple web-service based on PhantomJS for rendering javascript-enabled website.
2014-12-24 14:00:36 +02:00
## server
2014-12-29 13:48:37 +02: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 14:00:36 +02:00
## client
2014-12-25 12:35:53 +02:00
http :1024 targetUrl=https://github.com/
2014-12-25 14:57:48 +02:00
http :1024 targetUrl=https://github.com/ loadImages:=true requestType=png
2014-12-24 14:00:36 +02:00
2014-12-25 12:35:53 +02:00
## admin
2014-12-25 14:57:48 +02:00
# monit
firefox http://localhost:2812/
# supervisor
firefox http://localhost:9001/
# haproxy
firefox http://localhost:1024/haproxy?stats
## issues
2014-12-29 13:48:37 +02:00
- send back html+image at the same time
2014-12-25 14:57:48 +02:00