Skip to content

Commit

Permalink
Fix database connection parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenzo Pini committed May 13, 2020
1 parent 4b88067 commit 61c4dfa
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions mapstore/geostore-datasource-ovr.properties
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
#Default Postgres Connection values
geostoreDataSource.driverClassName=org.postgresql.Driver
geostoreDataSource.url=jdbc:postgresql://database:5432/geostore
geostoreDataSource.username=geostore
geostoreDataSource.password=geostore
geostoreVendorAdapter.databasePlatform=org.hibernate.dialect.PostgreSQLDialect
geostoreEntityManagerFactory.jpaPropertyMap[hibernate.hbm2ddl.auto]=validate
geostoreEntityManagerFactory.jpaPropertyMap[hibernate.default_schema]=geostore
geostoreVendorAdapter.generateDdl=true
geostoreVendorAdapter.showSql=false

### USERS INITIALIZATION

## Sample users are "admin" and "user" (this is DEFAULT configuration, already set in the applicationContext)
#geostoreInitializer.categoryListInitFile=classpath:sample_users.xml
## Use this form to point to an absolute file path
#geostoreInitializer.userListInitFile=file://path/to/your/file

### CATEGORIES INITIALIZATION

# A couple of sample categories. Use this XML file as template for yours. (this is DEFAULT configuration, already set in the applicationContext)
#geostoreInitializer.categoryListInitFile=classpath:sample_categories.xml
## Use this form to point to an absolute file path
#geostoreInitializer.categoryListInitFile=file://path/to/your/file
#Default Postgres Connection values
geostoreDataSource.driverClassName=org.postgresql.Driver
geostoreDataSource.url=jdbc:postgresql://database:5432/georchestra
geostoreDataSource.username=georchestra
geostoreDataSource.password=georchestra
geostoreVendorAdapter.databasePlatform=org.hibernate.dialect.PostgreSQLDialect
geostoreEntityManagerFactory.jpaPropertyMap[hibernate.hbm2ddl.auto]=validate
geostoreEntityManagerFactory.jpaPropertyMap[hibernate.default_schema]=geostore
geostoreVendorAdapter.generateDdl=true
geostoreVendorAdapter.showSql=false

### USERS INITIALIZATION

## Sample users are "admin" and "user" (this is DEFAULT configuration, already set in the applicationContext)
#geostoreInitializer.categoryListInitFile=classpath:sample_users.xml
## Use this form to point to an absolute file path
#geostoreInitializer.userListInitFile=file://path/to/your/file

### CATEGORIES INITIALIZATION

# A couple of sample categories. Use this XML file as template for yours. (this is DEFAULT configuration, already set in the applicationContext)
#geostoreInitializer.categoryListInitFile=classpath:sample_categories.xml
## Use this form to point to an absolute file path
#geostoreInitializer.categoryListInitFile=file://path/to/your/file

0 comments on commit 61c4dfa

Please sign in to comment.