From 6a4a349a1be3ad5460e507dc4e2098936fd23859 Mon Sep 17 00:00:00 2001 From: "Christopher Lott (cl778h)" Date: Tue, 10 Oct 2017 15:54:38 -0400 Subject: 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) --- deliveries/.env | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'deliveries/.env') 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" -- cgit 1.2.3-korg