Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 1 | # Environment settings |
| 2 | # used by docker-compose AND by other shell scripts |
st782s | 21a8761 | 2018-01-30 17:29:36 -0500 | [diff] [blame] | 3 | # The name ".env" is required by docker-compose |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 4 | |
Kotta, Shireesha (sk434m) | b75f35b | 2019-06-13 14:41:15 -0400 | [diff] [blame] | 5 | # Dockerfile names. To skip building one or more docker images, |
| 6 | # change dockerfile name to "skip" |
| 7 | PORTAL_DOCKERFILE=Dockerfile.portal |
| 8 | SDK_DOCKERFILE=Dockerfile.sdk |
| 9 | DB_DOCKERFILE=Dockerfile.mariadb |
| 10 | WMS_DOCKERFILE=Dockerfile.wms |
| 11 | # These are FE only and BE only docker images. Change to Dockerfile.fe and Dockerfile.be to enable. |
| 12 | FE_DOCKERFILE=skip |
| 13 | BE_DOCKERFILE=skip |
| 14 | |
| 15 | # Relative directories and filenames for builds |
| 16 | SDK_APP_DIR=sdk/ecomp-sdk/epsdk-app-os |
| 17 | SDK_WAR_DIR=sdk/ecomp-sdk/epsdk-app-os/target |
| 18 | SDK_WAR_FILE=epsdk-app-os.war |
| 19 | BE_WAR_DIR=ecomp-portal-BE-os/target |
| 20 | BE_WAR_FILE=portal-be-os.war |
Sudarshan Kumar | 8e83c25 | 2020-02-18 16:16:26 +0530 | [diff] [blame] | 21 | FE_DIR=portal-FE-os/dist/public |
Kotta, Shireesha (sk434m) | b75f35b | 2019-06-13 14:41:15 -0400 | [diff] [blame] | 22 | WIDGET_MS_JAR_DIR=ecomp-portal-widget-ms/widget-ms/target |
| 23 | WIDGET_MS_JAR_FILE=widget-ms.jar |
| 24 | |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 25 | # Following are ALSO used in demo/boot/portal_vm_init.sh |
st782s | 21a8761 | 2018-01-30 17:29:36 -0500 | [diff] [blame] | 26 | EP_IMG_NAME=onap/portal-app |
| 27 | SDK_IMG_NAME=onap/portal-sdk |
Kotta, Shireesha (sk434m) | b75f35b | 2019-06-13 14:41:15 -0400 | [diff] [blame] | 28 | FE_IMG_NAME=onap/portal-fe |
| 29 | BE_IMG_NAME=onap/portal-be |
Christopher Lott (cl778h) | 0acb4fc | 2017-10-02 12:09:24 -0400 | [diff] [blame] | 30 | DB_IMG_NAME=onap/portal-db |
Kotta, Shireesha (sk434m) | b75f35b | 2019-06-13 14:41:15 -0400 | [diff] [blame] | 31 | WMS_IMG_NAME=onap/portal-wms |
| 32 | |
Kishore Reddy, Gujja (kg811t) | 4ee8967 | 2018-03-20 17:15:25 -0400 | [diff] [blame] | 33 | CDR_IMG_NAME=onap/music/cassandra_music |
| 34 | ZK_IMG_NAME=zookeeper |
Kotta, Shireesha (sk434m) | b75f35b | 2019-06-13 14:41:15 -0400 | [diff] [blame] | 35 | |
Christopher Lott (cl778h) | 0acb4fc | 2017-10-02 12:09:24 -0400 | [diff] [blame] | 36 | # Deployed with portal; built elsewhere |
| 37 | CLI_IMG_NAME=onap/cli |
Kanagaraj Manickam k00365106 | bfbe335 | 2017-08-30 09:33:23 +0530 | [diff] [blame] | 38 | |
st782s | 21a8761 | 2018-01-30 17:29:36 -0500 | [diff] [blame] | 39 | # This is the first portion of the Docker image tag |
| 40 | # that is published to the ONAP registry. |
Sandeep Shah | e746327 | 2020-08-27 17:23:57 -0500 | [diff] [blame] | 41 | PORTAL_VERSION=3.4.0 |
st782s | 21a8761 | 2018-01-30 17:29:36 -0500 | [diff] [blame] | 42 | |
| 43 | # This is used during builds and in docker-compose; |
| 44 | # it is never published to the ONAP registry. |
statta | 91625da | 2020-05-26 00:01:53 -0400 | [diff] [blame] | 45 | PORTAL_TAG=guilin |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 46 | |
Christopher Lott (cl778h) | 0acb4fc | 2017-10-02 12:09:24 -0400 | [diff] [blame] | 47 | # Name of directory in apps container (NOT host) |
| 48 | WEBAPPS_DIR=/opt/apache-tomcat-8.0.37/webapps |
Kishore Reddy, Gujja (kg811t) | a59bc3e | 2018-09-25 13:59:56 -0400 | [diff] [blame] | 49 | TOMCAT_DIR=/opt/apache-tomcat-8.0.37 |
| 50 | |
| 51 | # Certs |
| 52 | TOMCAT_KEY=keystoreONAP.keystore |
| 53 | TOMCAT_TRUST=truststoreONAPall.jks |
| 54 | CERT_PWD=changeit |
| 55 | |
Christopher Lott (cl778h) | 6a4a349 | 2017-10-10 15:54:38 -0400 | [diff] [blame] | 56 | # Required settings with default values. |
| 57 | # Export shell environment variables on ALL hosts. |
Kotta, Shireesha (sk434m) | b75f35b | 2019-06-13 14:41:15 -0400 | [diff] [blame] | 58 | SERVER_XML_DIR=. |
Christopher Lott (cl778h) | 6a4a349 | 2017-10-10 15:54:38 -0400 | [diff] [blame] | 59 | LOGS_DIR=./logs |
Kishore Reddy, Gujja (kg811t) | 6acafbc | 2018-04-03 11:29:57 -0400 | [diff] [blame] | 60 | PROPS_DIR=./properties_simpledemo |
Christopher Lott (cl778h) | 6a4a349 | 2017-10-10 15:54:38 -0400 | [diff] [blame] | 61 | |
| 62 | # Optional settings with no defaults. |
| 63 | EXTRA_HOST_IP="" |
| 64 | EXTRA_HOST_NAME="" |
| 65 | # Export shell environment variables on hosts with no DNS; |
| 66 | # a line is added to docker container's /etc/hosts. |
| 67 | # For example: |
st782s | 21a8761 | 2018-01-30 17:29:36 -0500 | [diff] [blame] | 68 | #EXTRA_HOST_IP="-i 10.11.12.13" |
kg811t | 3aa28e9 | 2018-02-08 13:25:08 -0500 | [diff] [blame] | 69 | #EXTRA_HOST_NAME="-n portal.api.simpledemo.onap.org" |
Kotta, Shireesha (sk434m) | b75f35b | 2019-06-13 14:41:15 -0400 | [diff] [blame] | 70 | |
| 71 | #Portal Context |
| 72 | PORTALCONTEXT=ONAPPORTAL |
| 73 | FECONTEXT=ONAPPORTAL |
| 74 | SDKCONTEXT=ONAPPORTALSDK |
| 75 | |
| 76 | #Nexus repository for os_docker_base/push/release scripts |
| 77 | NEXUS_REPO=nexus3.onap.org:10003 |