1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
dockerfiles/webkit
2014-12-29 18:23:58 +08:00
..
bin update 2014-12-29 18:23:58 +08:00
etc update 2014-12-29 18:23:58 +08:00
includes add webkit 2014-12-24 19:30:14 +08:00
tests add webkit 2014-12-24 19:30:14 +08:00
client.js update webkit 2014-12-29 18:00:53 +08:00
Dockerfile update 2014-12-29 18:23:58 +08:00
parser.js update parser 2014-12-25 14:58:24 +08:00
README.md remove renderjs 2014-12-25 20:57:48 +08:00
server.js update webkit 2014-12-25 18:02:48 +08:00
utils.js add webkit 2014-12-24 19:30:14 +08:00

WebKit/PhantomJS

A simple web-service based on PhantomJS for rendering javascript-enabled website.

server

docker run -d --restart=always -p 1024:1024 -p 2812:2812 -p 9001:9001 --name=webkit vimagick/webkit

client

http :1024 targetUrl=https://github.com/
http :1024 targetUrl=https://github.com/ loadImages:=true requestType=png

admin

# monit
firefox http://localhost:2812/
# supervisor
firefox http://localhost:9001/
# haproxy
firefox http://localhost:1024/haproxy?stats

issues

  • setup nginx to serving out images files