aboutsummaryrefslogtreecommitdiffstats
path: root/ms/neng/src/main/docker/startService.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ms/neng/src/main/docker/startService.sh')
-rw-r--r--ms/neng/src/main/docker/startService.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/ms/neng/src/main/docker/startService.sh b/ms/neng/src/main/docker/startService.sh
new file mode 100644
index 00000000..e690311c
--- /dev/null
+++ b/ms/neng/src/main/docker/startService.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+touch /app.jar
+app_args=-Dspring.profiles.active=${SPRING_PROFILE}
+app_args=${app_args}" -Dpolicymgr_url="${POLICYMGR_URL}" -Dinstar_aaf_enc_pass="${AAF_PASS_ENC}
+app_args=${app_args}" -Daai_cert_pass="${AAI_CERT_PASSWORD}" -Daai_uribase="${AAI_URI_BASE}
+app_args=${app_args}" -Dnwelgen_db_user="${NWEG_DB_USER}" -Dnwelgen_db_pass="${NWEG_DB_PASS}" -Dnwelgen_db_url="${NWEG_DB_URL}
+echo "app_args ="${app_args}
+echo "app_args ="${app_args}
+java -Djava.security.egd=file:/dev/./urandom ${app_args} -Xms1024m -Xmx1024m -jar /app.jar