spring.properties 1.45 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
#-------------------------------------------------------------------------------
Matija Obreza's avatar
Matija Obreza committed
2
# Copyright 2014 Global Crop Diversity Trust
Matija Obreza's avatar
Matija Obreza committed
3
4
5
6
7
8
9
10
11
12
13
14
15
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#   http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#-------------------------------------------------------------------------------
Matija Obreza's avatar
Matija Obreza committed
16

17
18
base.url=http://localhost:8080

Matija Obreza's avatar
Matija Obreza committed
19
20
#DB connection properties
#In-memory HSQLDB
21
db.url=jdbc:hsqldb:mem:test;sql.syntax_mys=true
Matija Obreza's avatar
Matija Obreza committed
22
23
24
25
26
db.driverClassName = org.hsqldb.jdbc.JDBCDriver
db.username = sa
db.password =
db.showSql=true
db.hbm2ddl=create
Matija Obreza's avatar
Matija Obreza committed
27
28
29
30
31

# reCAPTCHA API
captcha.privateKey=A
captcha.publicKey=B

Matija Obreza's avatar
Matija Obreza committed
32
33
lucene.indexDir=./lucene/

Matija Obreza's avatar
Matija Obreza committed
34
# paths
35
36
37
38
39
40
41
42
43
44
download.files.dir=./data/

# ITPGRFA Easy-SMTA account (if you have one)
itpgrfa.easysmta.username=
itpgrfa.easysmta.password=

# GA Account
google.analytics.account=

# CDN
Matija Obreza's avatar
Matija Obreza committed
45
46
cdn.server=https://s1.cdn.genesys-pgr.org
cdn.base=${cdn.server}/html
47
cdn.flags.url=${cdn.base}/flags
48

Matija Obreza's avatar
Matija Obreza committed
49
50
51
# TileServer CDN
tileserver.cdn=''

52
53
# Content creation on startup
auto.createContent=false
54
55

scheduler.tokens.cleanup.hours=1