Commit 93cbfc9d authored by paz's avatar paz
Browse files

Instruct to give tls-fingerprint and api-key as env-vars.

parent 0e455184
...@@ -21,7 +21,7 @@ You need `docker`, obviously. So first, [go and install it](https://docs.docker. ...@@ -21,7 +21,7 @@ You need `docker`, obviously. So first, [go and install it](https://docs.docker.
``` ```
$ git clone https://git.occrp.org/libre/webschlocker3.git $ git clone https://git.occrp.org/libre/webschlocker3.git
$ docker build -t 'webschlocker3' webschlocker3/ $ docker build -t 'webschlocker3' webschlocker3/
$ docker run --rm --name webschlocker-test --link schlocker-test -e WEBSCHLOCKER_CONFIG_SCHLEUDERD_URI="http://schlocker-test:4443/" webschlocker3 $ docker run --rm --name webschlocker-test --link schlocker-test -e WEBSCHLOCKER_CONFIG_API_HOST="schlocker-test" -e WEBSCHLOCKER_CONFIG_TLS_FINGERPRINT="fingerprint_from_schlocker_output" -e WEBSCHLOCKER_CONFIG_API_KEY="api_key_given_also_to_schlocker" webschlocker3
``` ```
By default `schleuder-web` listens on port `3000` (you can change this by setting `$WEBSCHLOCKER_BIND_PORT` docker envvar) and will inform you about the IP address it is running on in the output. By default `schleuder-web` listens on port `3000` (you can change this by setting `$WEBSCHLOCKER_BIND_PORT` docker envvar) and will inform you about the IP address it is running on in the output.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment