summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay <vv770d@att.com>2017-10-25 20:23:08 +0000
committerVijay <vv770d@att.com>2017-10-25 20:23:27 +0000
commit72e1ebb4960dcbf2262cd89b25d43af5d957fe1b (patch)
tree6bf0f71a2fe12a49a4d9c8427ed4759ab5e4a743
parentedd0db77ae9f8de393f4c0bb677e69a38314112a (diff)
remove dual port mapping
Change-Id: Ia620f4a51dc6c0ffb16a85e0ea7587c49603f16b Issue-ID:DCAEGEN2-128 Signed-off-by: Vijay <vv770d@att.com>
-rw-r--r--Dockerfile2
-rw-r--r--src/main/scripts/docker-entry.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index c73703d3..c7f7c2e2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,6 +15,6 @@ RUN apt-get update && apt-get install -y \
COPY opt /opt
-EXPOSE 8080 8443
+EXPOSE 8080
CMD [ "/opt/app/docker-entry.sh" ]
diff --git a/src/main/scripts/docker-entry.sh b/src/main/scripts/docker-entry.sh
index f5ddedb0..34cbe4cb 100644
--- a/src/main/scripts/docker-entry.sh
+++ b/src/main/scripts/docker-entry.sh
@@ -20,7 +20,7 @@
###
if [ ! -z "$COLLECTOR_IP" ]; then
- echo $COLLECTOR_IP $(hostname).dcae.simpledemo.openecomp.org >> /etc/hosts
+ echo $COLLECTOR_IP $(hostname).dcae.simpledemo.onap.org >> /etc/hosts
fi
if [ ! -z "$DMAAPHOST" ]; then