summaryrefslogtreecommitdiffstats
path: root/deliveries/.env
diff options
context:
space:
mode:
authorChristopher Lott (cl778h) <clott@research.att.com>2017-10-10 15:54:38 -0400
committerChristopher Lott (cl778h) <clott@research.att.com>2017-10-10 15:55:51 -0400
commit6a4a349a1be3ad5460e507dc4e2098936fd23859 (patch)
treeea66e04551023fe6b5cc49fa7c9f3d504a815a86 /deliveries/.env
parent18f397918fb3139902e131772af6f400a7692e6f (diff)
Extend deployment for CSIT env quirks
Define new environment variables so a host IP and name can be added to a docker container /etc/hosts file for inter-app comms using the semi-well-known name portal.api.simpledemo.openecomp.org Issue: PORTAL-59 Change-Id: If1c23a77a4b227aac314d966f41e5d5aaad846f8 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
Diffstat (limited to 'deliveries/.env')
-rw-r--r--deliveries/.env16
1 files changed, 13 insertions, 3 deletions
diff --git a/deliveries/.env b/deliveries/.env
index f5d1090c..0a3230d7 100644
--- a/deliveries/.env
+++ b/deliveries/.env
@@ -14,6 +14,16 @@ PORTAL_TAG=1.3.0
# Name of directory in apps container (NOT host)
WEBAPPS_DIR=/opt/apache-tomcat-8.0.37/webapps
-# Expected environment variables (NOT defined here):
-# LOGS_DIR
-# PROPS_DIR
+# Required settings with default values.
+# Export shell environment variables on ALL hosts.
+LOGS_DIR=./logs
+PROPS_DIR=./properties_rackspace
+
+# Optional settings with no defaults.
+EXTRA_HOST_IP=""
+EXTRA_HOST_NAME=""
+# Export shell environment variables on hosts with no DNS;
+# a line is added to docker container's /etc/hosts.
+# For example:
+#EXTRA_HOST_IP="-i 135.207.161.163"
+#EXTRA_HOST_NAME="-n portal.api.simpledemo.openecomp.org"