Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bonita
bonita-distrib
Commits
eef8b15b
Commit
eef8b15b
authored
Jul 02, 2021
by
Emmanuel Duchastenier
Browse files
Merge branch 'master' into 'dev'
parents
88f0144b
a2ee33d5
Changes
2
Show whitespace changes
Inline
Side-by-side
docker/files/config.sh
View file @
eef8b15b
#!/bin/bash
set
-x
# Path to deploy the Tomcat Bundle
BONITA_PATH
=
${
BONITA_PATH
:-
/opt/bonita
}
# Templates directory
...
...
@@ -68,6 +69,7 @@ fi
if
[
"
${
ENSURE_DB_CHECK_AND_CREATION
}
"
=
'true'
]
then
echo
"Creating (if missing) database and users"
# load SQL functions
.
${
BONITA_FILES
}
/functions.sh
case
"
${
DB_VENDOR
}
"
in
...
...
@@ -117,6 +119,7 @@ find ${BONITA_PATH}/BonitaCommunity-${BRANDING_VERSION}/setup/platform_conf/init
-e
's/^#platformAdminUsername\s*=.*/'
"platformAdminUsername=
${
PLATFORM_LOGIN
}
"
'/'
\
-e
's/^#platformAdminPassword\s*=.*/'
"platformAdminPassword=
${
PLATFORM_PASSWORD
}
"
'/'
echo
"Using JAVA_OPTS:
${
JAVA_OPTS
}
"
sed
-i
-e
's/{{JAVA_OPTS}}/'
"
${
JAVA_OPTS
}
"
'/'
${
BONITA_PATH
}
/BonitaCommunity-
${
BRANDING_VERSION
}
/setup/tomcat-templates/setenv.sh
if
[
-n
"
$JDBC_DRIVER
"
]
...
...
@@ -129,6 +132,12 @@ then
fi
fi
echo
"Using DB_VENDOR:
${
DB_VENDOR
}
"
echo
"Using DB_NAME:
${
DB_NAME
}
"
echo
"Using DB_HOST:
${
DB_HOST
}
"
echo
"Using DB_PORT:
${
DB_PORT
}
"
echo
"Using BIZ_DB_NAME:
${
BIZ_DB_NAME
}
"
sed
-e
's/{{DB_VENDOR}}/'
"
${
DB_VENDOR
}
"
'/'
\
-e
's/{{DB_USER}}/'
"
${
DB_USER
}
"
'/'
\
-e
's/{{DB_PASS}}/'
"
${
DB_PASS
}
"
'/'
\
...
...
pom.xml
View file @
eef8b15b
...
...
@@ -28,8 +28,8 @@
<bonita.web.version>
${project.version}
</bonita.web.version>
<bonita.engine.version>
${project.version}
</bonita.engine.version>
<tomcat.version>
8.5.
59
</tomcat.version>
<tomcat9.version>
9.0.
39
</tomcat9.version>
<tomcat.version>
8.5.
68
</tomcat.version>
<tomcat9.version>
9.0.
48
</tomcat9.version>
<slf4j.version>
1.7.25
</slf4j.version>
<deploy_plugin_skip>
false
</deploy_plugin_skip>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment