Skip to content

Commit

Permalink
Merge branch 'master' into LLM_connector
Browse files Browse the repository at this point in the history
  • Loading branch information
Emeric committed Oct 22, 2024
2 parents 2c061fc + 131b53a commit 0fdfa8d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ May 16th, 2023
#885 Propose SSD conf in install script for PostgreSQL

#887 Redirect to asked resource on successful authentication
#892 CVE-2022-42889 Text4Shell vulnerability
#892 CVE-2022-42889 ???Text4Shell??? vulnerability
#884 Provide a protected endpoint that performs a simple redirect

#893 Keep persistence after a restart of Docker container for CE
Expand Down
8 changes: 4 additions & 4 deletions datafari-tomcat/conf-datafari/mcf-postgres.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
HOST=localhost
PORT=5432
DATABASE=manifoldcf
USER=postgres
HOST=@POSTGRESQLHOSTNAME@
PORT=@POSTGRESQLPORT@
DATABASE=@POSTGRESQLDATABASE@
USER=@POSTGRESQLUSERNAME@
PASSWORD=@POSTGRESPASSWORD@
TABLENAME=repohistory
6 changes: 6 additions & 0 deletions linux/bin/init-datafari.sh
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,12 @@ init_postgresql() {
sed -i -e "s~@POSTGRESQLPORT@~${POSTGRESQL_PORT}~g" $MCF_HOME/properties-global.xml >>$installerLog 2>&1
sed -i -e "s~@POSTGRESQLDATABASE@~${POSTGRESQL_DATABASE}~g" $MCF_HOME/properties-global.xml >>$installerLog 2>&1
sed -i -e "s~@POSTGRESQLUSERNAME@~${POSTGRESQL_USERNAME}~g" $MCF_HOME/properties-global.xml >>$installerLog 2>&1

sed -i -e "s~@POSTGRESQLHOSTNAME@~${POSTGRESQL_HOSTNAME}~g" $TOMCAT_HOME/conf/mcf-postgres.properties >>$installerLog 2>&1
sed -i -e "s~@POSTGRESQLPORT@~${POSTGRESQL_PORT}~g" $TOMCAT_HOME/conf/mcf-postgres.properties >>$installerLog 2>&1
sed -i -e "s~@POSTGRESQLDATABASE@~${POSTGRESQL_DATABASE}~g" $TOMCAT_HOME/conf/mcf-postgres.properties >>$installerLog 2>&1
sed -i -e "s~@POSTGRESQLUSERNAME@~${POSTGRESQL_USERNAME}~g" $TOMCAT_HOME/conf/mcf-postgres.properties >>$installerLog 2>&1

}

init_password_postgresql() {
Expand Down

0 comments on commit 0fdfa8d

Please sign in to comment.