182 lines
7.0 KiB
Properties
Raw Normal View History

2012-07-12 23:56:04 -03:00
##################################################################################
# Database Configuration
##################################################################################
# MySQL 5.X configuration properties
#database.url=jdbc:mysql://localhost/wisemapping?useUnicode=yes&characterEncoding=UTF-8
2023-04-01 16:56:29 -07:00
#database.driver=com.mysql.cj.jdbc.Driver
2012-07-12 23:56:04 -03:00
#database.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
#database.username=wisemapping
#database.password=password
#database.validation.enabled=true
#database.validation.query=SELECT 1
2012-07-12 23:56:04 -03:00
2013-02-23 15:33:09 -03:00
## PostgreSQL configuration properties
#database.url=jdbc:postgresql://<hostname:port>/wisemapping
#database.driver=org.postgresql.Driver
#database.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
2023-02-15 22:47:42 -08:00
#database.username=wisemapping
#database.password=password
2013-02-23 15:33:09 -03:00
#database.validation.enabled=true
#database.validation.query=
#database.validation.enabled=false
2023-11-24 19:26:36 -08:00
##database.base.url=/Users/veigap/repos/wisemapping-open-source/wise-webapp
### HSQL Configuration properties
##database.url=jdbc:hsqldb:file:${database.base.url}/db/wisemapping
##database.driver=org.hsqldb.jdbc.JDBCDriver
##database.hibernate.dialect=org.hibernate.dialect.HSQLDialect
#
#database.username=sa
#database.password=
#database.validation.enabled=false
#database.validation.query=
2012-07-12 23:56:04 -03:00
##################################################################################
# Mail configuration. Must be configured to enable user registration confirmation.
##################################################################################
#------------------------
# Plain SMTP Server Configuration
#------------------------
mail.smtp.port=25
2012-07-12 23:56:04 -03:00
mail.smtp.host=localhost
mail.username=root
mail.password=
mail.smtp.auth=false
mail.smtp.starttls.enable=false
mail.smtp.quitwait=false
#------------------------
# GMAIL SMTP Configuration
#------------------------
#mail.smtp.port=587
#mail.smtp.host=smtp.gmail.com
#mail.username=<gmail-user-account>
#mail.password=<gmail-password>
#mail.smtp.auth=true
#mail.smtp.starttls.enable=true
#mail.smtp.quitwait=false
#------------------------
# Emails configuration
#------------------------
# Required: "from" email account that will appear in the emails sent from the sender.
mail.serverSendEmail=root@localhost
# Optional: Support account that the users could use to contact you. This address will appear in emails and in some places in the site.
mail.supportEmail=root@localhost
##################################################################################
# Users Registration Configuration
##################################################################################
# Enable captcha confirmation
google.recaptcha2.enabled = true
2012-07-12 23:56:04 -03:00
# ReCaptcha is the default captcha. Public and private keys are required.
# More Info: http://www.google.com/recaptcha .
google.recaptcha2.siteKey = 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
google.recaptcha2.secretKey = 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
2012-07-12 23:56:04 -03:00
##################################################################################
# Site configuration
##################################################################################
# Site administration user. This user will have special permissions for operations such as removing users, set password
# etc.
admin.user = admin@wisemapping.org
# Base URL where WiseMapping is deployed. By default, It will be automatically inferred.
2022-03-29 22:41:21 -03:00
#site.baseurl = http://localhost:8080
2012-07-12 23:56:04 -03:00
# Site Homepage URL. This will be used as URL for homepage location.
2022-02-28 14:51:25 -08:00
site.homepage = c/login
# Font end static content can be deployed externally to the web app. Uncomment here and specify the url base location.
2022-01-14 16:39:20 -08:00
site.static.js.url = /static
2012-07-12 23:56:04 -03:00
##################################################################################
# Google Analytics Settings
##################################################################################
google.analytics.enabled=false
google.analytics.account=UA-XXXX
##################################################################################
# Google Ads enable
##################################################################################
2012-11-18 18:54:56 -03:00
google.ads.enabled=false
2013-02-17 21:00:08 -03:00
#######################################################################################
# Authentication Configuration Section
2013-02-17 21:00:08 -03:00
#######################################################################################
2013-02-17 21:26:42 -03:00
# Two type of security are supported:
# - db: User are stored in the database. Registration is required in advance.
# - ldap: Authentication takes place using a LDAP. In this case, security.ldap.* must be configured.
security.type=db
# LDAP Configuration properties.
2013-02-17 21:00:08 -03:00
security.ldap.server=ldap://localhost:389
# If anonymous password is required, change the wisemapping-security-ldap.xml removing the
2013-02-17 21:00:08 -03:00
security.ldap.server.user=cn=pveiga,dc=wisemapping,dc=com
security.ldap.server.password=password
security.ldap.basedn=dc=wisemapping,dc=com
# This will be concatenated as part of the DN. In this case, I will be "ou=people".
# In case this need to be changed, modify the wisemapping-security-ldap.xml.
security.ldap.subDn=ou=people
# Attribute used as authentication login (Eg: in this case, the user email will be used)
2013-02-17 21:00:08 -03:00
security.ldap.auth.attribute=mail
security.ldap.lastName.attribute=sn
security.ldap.firstName.attribute=givenName
2022-12-17 17:33:59 -08:00
#######################################################################################
# Google OAuth Authentication
#######################################################################################
2022-12-17 17:54:14 -08:00
# OAuth Client id
#security.oauth2.google.clientId=<config settings>
# OAuth Client secret
#security.oauth2.google.clientSecret=<oauth client>
2022-12-17 17:33:59 -08:00
# Redirect to this url, this url must be configured in the google app {baseurl}/c/registration-google
2022-12-17 17:54:14 -08:00
#security.oauth2.google.callbackUrl=<oauth callback url>
2022-12-17 17:33:59 -08:00
# Google service for finish registration process, ie. exchange temporal code for user token
security.oauth2.google.confirmUrl=https://oauth2.googleapis.com/token
# Google service for get user data (name, email, etc)
security.oauth2.google.userinfoUrl=https://www.googleapis.com/oauth2/v3/userinfo
# Url for starting auth process with google
2023-11-24 19:26:36 -08:00
@Todo
security.oauth2.google.url=https//review
2022-12-17 17:33:59 -08:00
2022-12-17 17:54:14 -08:00
2022-12-17 17:33:59 -08:00
#######################################################################################
2022-04-11 17:50:19 -03:00
# User Account filtering policies
2022-12-17 17:33:59 -08:00
#######################################################################################
2022-04-11 17:50:19 -03:00
# Coma separated list of domains and emails ban
#accounts.exclusion.domain=
2023-07-28 22:46:38 -07:00
2023-11-24 19:26:36 -08:00
#######################################################################################
# Spring related configurations
#######################################################################################
spring.main.allow-circular-references=true
database.base.url=/Users/veigap/repos/wisemapping-open-source/wise-webapp
spring.datasource.url=jdbc:hsqldb:file:${database.base.url}/db/wisemapping
spring.datasource.username=sa
spring.datasource.password=
spring.datasource.driver-class-name = org.hsqldb.jdbc.JDBCDriver
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.HSQLDialect
spring.jpa.open-in-view=true
spring.h2.console.enabled=true
spring.h2.console.path=/h2-ui