mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-28 17:51:24 +00:00
update renderjs
This commit is contained in:
parent
8a7f76b39b
commit
6280d16fc7
@ -9,9 +9,19 @@ Dockerfile for building an image that runs webkit rendering service.
|
|||||||
|
|
||||||
## Running
|
## Running
|
||||||
|
|
||||||
$ docker run -p 1024:1024 -p 9001:9001 renderjs
|
$ docker run -d -p 1024:1024 -p 9001:9001 renderjs
|
||||||
|
|
||||||
## Playing
|
## Playing
|
||||||
|
|
||||||
|
# raw output
|
||||||
$ http :1024 url=http://datageek.info/
|
$ http :1024 url=http://datageek.info/
|
||||||
|
|
||||||
|
# json output
|
||||||
|
$ http :1024/json/ url=http://datageek.info/
|
||||||
|
|
||||||
|
# supervisor
|
||||||
|
$ firefox http://localhost:9001/
|
||||||
|
|
||||||
|
# haproxy
|
||||||
|
$ firefox http://localhost:1024/haproxy?stats
|
||||||
|
|
||||||
|
@ -26,6 +26,8 @@ defaults
|
|||||||
frontend front
|
frontend front
|
||||||
bind 0.0.0.0:1024
|
bind 0.0.0.0:1024
|
||||||
default_backend back
|
default_backend back
|
||||||
|
stats enable
|
||||||
|
stats admin if TRUE
|
||||||
|
|
||||||
backend back
|
backend back
|
||||||
server s0 127.0.0.1:8080 maxconn 10
|
server s0 127.0.0.1:8080 maxconn 10
|
||||||
|
Loading…
Reference in New Issue
Block a user