mirror of
https://github.com/wisemapping/wisemapping-open-source.git
synced 2025-04-04 19:34:30 +08:00
84 lines
1.6 KiB
YAML
Executable File
84 lines
1.6 KiB
YAML
Executable File
# SpringBoot Configuration ...
|
|
|
|
spring:
|
|
output:
|
|
ansi:
|
|
enabled=always:
|
|
application:
|
|
name: wisemapping-api
|
|
title: wisemapping-api
|
|
datasource:
|
|
url: jdbc:hsqldb:mem:wisemapping
|
|
driver-class-name: org.hsqldb.jdbc.JDBCDriver
|
|
password: ''
|
|
username: sa
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: none
|
|
open-in-view: true
|
|
properties:
|
|
hibernate:
|
|
current_session_context_class: thread
|
|
default_batch_fetch_size: 200
|
|
dialect: org.hibernate.dialect.HSQLDialect
|
|
format_sql: true
|
|
main:
|
|
allow-circular-references: true
|
|
sql:
|
|
init:
|
|
mode: always
|
|
platform: hsqldb
|
|
|
|
# Login ...
|
|
logging:
|
|
level:
|
|
org:
|
|
apache:
|
|
tomcat: INFO
|
|
root: TRACE
|
|
|
|
# Application Configuration.
|
|
|
|
app:
|
|
jwt:
|
|
secret: dlqxKAg685SaKhsQXIMeM=JWCw3bkl3Ei3Tb7LMlnd19oMd66burPNlJ0Po1qguyjgpakQTk2CN3
|
|
expirationMin: 10080 # One week
|
|
admin:
|
|
user: admin@wisemapping.org
|
|
|
|
google:
|
|
ads:
|
|
enabled: false
|
|
analytics:
|
|
account: UA-XXXX
|
|
enabled: false
|
|
recaptcha2:
|
|
enabled: true
|
|
secretKey: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
|
|
siteKey: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
|
|
mail:
|
|
password: ''
|
|
serverSendEmail: root@localhost
|
|
smtp:
|
|
auth: false
|
|
host: localhost
|
|
port: 25
|
|
quitwait: false
|
|
starttls:
|
|
enable: false
|
|
supportEmail: root@localhost
|
|
username: root
|
|
security:
|
|
oauth2:
|
|
google:
|
|
confirmUrl: https://oauth2.googleapis.com/token
|
|
url: https//review
|
|
userinfoUrl: https://www.googleapis.com/oauth2/v3/userinfo
|
|
site:
|
|
homepage: c/login
|
|
static:
|
|
js:
|
|
url: /static
|
|
|
|
|