aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay VK <vv770d@att.com>2018-03-08 15:02:07 +0000
committerVENKATESH KUMAR <vv770d@att.com>2018-03-08 18:19:40 -0500
commitf924e7600ba8b9741611ac784ff0586875691912 (patch)
treec8f516664478103a2ba2bda61ea0578b87b58611
parent5c93b25a22f19f157d5088595655ac818744a42b (diff)
enables https setting
Change-Id: I05e988e6e42663bf09cd91cc5dde310cbe71effc Signed-off-by: VENKATESH KUMAR <vv770d@att.com> Issue-ID: DCAEGEN2-388
-rw-r--r--Dockerfile7
-rwxr-xr-xetc/collector.properties2
2 files changed, 3 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index 37afd65b..9aa246a6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,13 +9,10 @@ ENV HOME /opt/app/VESCollector
ENV JAVA_HOME /usr
ENV HOSTALIASES /etc/host.aliases
-RUN apt-get update && apt-get install -y \
- curl \
- vim \
- openjdk-8-jdk
+RUN apt-get update && apt-get install -y curl vim openjdk-8-jdk
COPY opt /opt
-EXPOSE 8080
+EXPOSE 8080 8443
CMD [ "/opt/app/docker-entry.sh" ]
diff --git a/etc/collector.properties b/etc/collector.properties
index 373ca6ed..c0db015f 100755
--- a/etc/collector.properties
+++ b/etc/collector.properties
@@ -21,7 +21,7 @@ collector.service.port=8080
## The secure port is required if header.authflag is set to 1 (true)
## Authentication is only supported via secure port
## When enabled - require valid keystore defined
-#collector.service.secure.port=8443
+collector.service.secure.port=8443
## The keystore must be setup per installation when secure port is configured
collector.keystore.file.location=../etc/keystore