diff --git a/docker/ews/Dockerfile b/docker/ews/Dockerfile index a21d039e..c90dbf7c 100644 --- a/docker/ews/Dockerfile +++ b/docker/ews/Dockerfile @@ -20,7 +20,7 @@ RUN apk -U --no-cache add \ py-requests \ py-setuptools && \ pip install --no-cache-dir -U pip && \ - pip install --no-cache-dir pyOpenSSL && \ + pip install --no-cache-dir pyOpenSSL xmljson && \ # Setup ewsposter git clone --depth=1 https://github.com/rep/hpfeeds /opt/hpfeeds && \ diff --git a/docker/ews/dist/ews.cfg b/docker/ews/dist/ews.cfg index 0c37928a..c52e7e1a 100644 --- a/docker/ews/dist/ews.cfg +++ b/docker/ews/dist/ews.cfg @@ -24,6 +24,10 @@ port = 0 channels = 0 ident = 0 secret= 0 +# path/to/certificate for tls broker - or "false" for non-tls broker +tlscert = false +# hpfeeds submission format: "ews" (xml) or "json" +hpfformat = json [EWSJSON] json = false