Commit d87fa2b6 authored by Michał 'rysiek' Woźniak's avatar Michał 'rysiek' Woźniak
Browse files

upstream changed the schleuder-api-port

parent 547e7a00
...@@ -22,7 +22,7 @@ You need `docker`, obviously. So first, [go and install it](https://docs.docker. ...@@ -22,7 +22,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:4567/" webschlocker3 $ docker run --rm --name webschlocker-test --link schlocker-test -e WEBSCHLOCKER_CONFIG_SCHLEUDERD_URI="http://schlocker-test:4443/" webschlocker3
``` ```
By default `weschleuder3` 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 `weschleuder3` 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.
...@@ -40,7 +40,7 @@ The hostname `schleuder-web` will run under, used among others in confirmation l ...@@ -40,7 +40,7 @@ The hostname `schleuder-web` will run under, used among others in confirmation l
Hostname (or IP address) and port to bind to. Hostname (or IP address) and port to bind to.
- `WEBSCHLOCKER_CONFIG_SCHLEUDERD_URI` (default: `http://localhost:4567/`) - `WEBSCHLOCKER_CONFIG_SCHLEUDERD_URI` (default: `http://localhost:4443/`)
URI the `schleuderd` daemon can be reached at. URI the `schleuderd` daemon can be reached at.
......
...@@ -30,7 +30,7 @@ function abort { ...@@ -30,7 +30,7 @@ function abort {
[ -z ${WEBSCHLOCKER_CONFIG_SMTP_PORT+x} ] && WEBSCHLOCKER_CONFIG_SMTP_PORT="25" [ -z ${WEBSCHLOCKER_CONFIG_SMTP_PORT+x} ] && WEBSCHLOCKER_CONFIG_SMTP_PORT="25"
[ -z ${WEBSCHLOCKER_CONFIG_OPENSSL_VERIFY_MODE+x} ] && WEBSCHLOCKER_CONFIG_OPENSSL_VERIFY_MODE="none" [ -z ${WEBSCHLOCKER_CONFIG_OPENSSL_VERIFY_MODE+x} ] && WEBSCHLOCKER_CONFIG_OPENSSL_VERIFY_MODE="none"
[ -z ${WEBSCHLOCKER_CONFIG_API_HOST+x} ] && WEBSCHLOCKER_CONFIG_API_HOST="localhost" [ -z ${WEBSCHLOCKER_CONFIG_API_HOST+x} ] && WEBSCHLOCKER_CONFIG_API_HOST="localhost"
[ -z ${WEBSCHLOCKER_CONFIG_API_PORT+x} ] && WEBSCHLOCKER_CONFIG_API_PORT="4567" [ -z ${WEBSCHLOCKER_CONFIG_API_PORT+x} ] && WEBSCHLOCKER_CONFIG_API_PORT="4443"
[ -z ${WEBSCHLOCKER_CONFIG_API_USE_TLS+x} ] && WEBSCHLOCKER_CONFIG_API_USE_TLS="false" [ -z ${WEBSCHLOCKER_CONFIG_API_USE_TLS+x} ] && WEBSCHLOCKER_CONFIG_API_USE_TLS="false"
[ -z ${WEBSCHLOCKER_CONFIG_API_TLS_FINGERPRINT+x} ] && WEBSCHLOCKER_CONFIG_API_TLS_FINGERPRINT="" [ -z ${WEBSCHLOCKER_CONFIG_API_TLS_FINGERPRINT+x} ] && WEBSCHLOCKER_CONFIG_API_TLS_FINGERPRINT=""
[ -z ${WEBSCHLOCKER_CONFIG_API_KEY+x} ] && WEBSCHLOCKER_CONFIG_API_KEY="" [ -z ${WEBSCHLOCKER_CONFIG_API_KEY+x} ] && WEBSCHLOCKER_CONFIG_API_KEY=""
......
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