aboutsummaryrefslogtreecommitdiffstats
path: root/deployments
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2019-05-06 11:22:46 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2019-05-06 11:22:49 -0700
commit381e61199653bbfa7da9c5349acad87a944fc8b8 (patch)
tree1cddb1fbafa658340eee1e826a8d8d4a525fca1b /deployments
parenta2ae972e814f80184033ee75e9715d1d76323410 (diff)
Make service port configurable0.1.0
Service port should be configurable. This patch removes the hardcoded value. The default value is 9015 Issue-ID: MULTICLOUD-609 Change-Id: Iae05f42bd06ecd061ec68a3a7c4a4a87f33b22fa Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'deployments')
-rw-r--r--deployments/Dockerfile2
-rwxr-xr-xdeployments/start.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/deployments/Dockerfile b/deployments/Dockerfile
index b3e2f061..dfe16cb1 100644
--- a/deployments/Dockerfile
+++ b/deployments/Dockerfile
@@ -16,7 +16,7 @@ ENV http_proxy $HTTP_PROXY
ENV https_proxy $HTTPS_PROXY
ENV no_proxy $NO_PROXY
-EXPOSE 8081
+EXPOSE 9015
RUN groupadd -r onap && useradd -r -g onap onap
RUN apt-get update && apt-get install -y -qq apt-transport-https curl \
diff --git a/deployments/start.sh b/deployments/start.sh
index f8dc8e7f..a57a6377 100755
--- a/deployments/start.sh
+++ b/deployments/start.sh
@@ -31,6 +31,7 @@ cat << EOF > k8sconfig.json
"database-address": "$DATABASE_IP",
"database-type": "mongo",
"plugin-dir": "$(pwd)/plugins",
+ "service-port": "9015",
"kube-config-dir": "$(pwd)/kubeconfigs"
}
EOF