Skip to content

Commit

Permalink
fix: reset db and georchestra build
Browse files Browse the repository at this point in the history
  • Loading branch information
f-necas committed Nov 16, 2023
1 parent 2a99e6c commit 0b6bf01
Show file tree
Hide file tree
Showing 3 changed files with 376 additions and 88 deletions.
5 changes: 1 addition & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1474,8 +1474,6 @@
<application.name>geonetwork</application.name>
<app.properties>WEB-INF/config.properties</app.properties>
<!--<app.properties>file:/${geonetwork.dir}/config.properties</app.properties>-->
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<!-- Configure database config file to use. Could be
h2, postgres, sqlserver, mysql, oracle, db2, postgres-postgis, jndi
-->
Expand All @@ -1490,9 +1488,8 @@
GEONETWORK_DB_CONNECTION_PROPERTIES=
-->

<db.type>${geonetwork.db.type:h2}</db.type>
<!-- Instead of using db_type a specific config file can be specified -->
<db.config.file>../config-db/${db.type}.xml</db.config.file>
<db.config.file>../config-db/postgres-postgis.xml</db.config.file>
<db.host>#{systemEnvironment['GEONETWORK_DB_HOST']?:'localhost'}</db.host>
<db.port>#{systemEnvironment['GEONETWORK_DB_PORT']}</db.port>
<db.name>#{systemEnvironment['GEONETWORK_DB_NAME']?:'~/gn'}</db.name>
Expand Down
Loading

0 comments on commit 0b6bf01

Please sign in to comment.