mirror of
https://github.com/tenox7/wrp.git
synced 2024-11-28 03:52:12 +00:00
add docker support
This commit is contained in:
parent
0e07f422f6
commit
327baf318a
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM chromedp/headless-shell
|
||||||
|
ADD wrp-linux /wrp
|
||||||
|
ENTRYPOINT ["/wrp"]
|
||||||
|
ENV PATH="/headless-shell:${PATH}"
|
||||||
|
LABEL maintainer="as@tenoware.com"
|
3
Makefile
3
Makefile
@ -23,3 +23,6 @@ windows:
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf wrp-linux wrp-freebsd wrp-openbsd wrp-macos wrp-windows.exe wrp-linux-rpi
|
rm -rf wrp-linux wrp-freebsd wrp-openbsd wrp-macos wrp-windows.exe wrp-linux-rpi
|
||||||
|
|
||||||
|
docker:
|
||||||
|
docker build -t tenox7/wrp:latest .
|
||||||
|
@ -22,12 +22,21 @@ A HTTP proxy server that allows to use historical and obsolete web browsers on t
|
|||||||
7. To send keystrokes fill K input box and press Go. There also are buttons for backspace, enter and arrow keys.
|
7. To send keystrokes fill K input box and press Go. There also are buttons for backspace, enter and arrow keys.
|
||||||
|
|
||||||
## Flags
|
## Flags
|
||||||
|
|
||||||
```
|
```
|
||||||
-l listen address:port, default :8080
|
-l listen address:port, default :8080
|
||||||
-h headed mode, display browser window
|
-h headed mode, display browser window
|
||||||
-d chromedp debug logging
|
-d chromedp debug logging
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Docker
|
||||||
|
|
||||||
|
```
|
||||||
|
docker run -d -p 8080:8080 --name wrp --restart unless-stopped tenox7/wrp
|
||||||
|
|
||||||
|
docker logs -f wrp
|
||||||
|
```
|
||||||
|
|
||||||
## Minimal Requirements
|
## Minimal Requirements
|
||||||
|
|
||||||
- Server / Gateway should run on a modern hardware/os that supports memory hungry Chrome.
|
- Server / Gateway should run on a modern hardware/os that supports memory hungry Chrome.
|
||||||
|
Loading…
Reference in New Issue
Block a user