blob: 355f9ea758362e5003019e9c1c2cca64a7df139a [file] [log] [blame]
Xia Kaixiangb9a49152019-11-22 16:29:22 +08001spring.main.banner-mode=off
2# create and drop tables and sequences, loads import.sql
3spring.jpa.hibernate.ddl-auto=update
4spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
5spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false
6#spring.datasource.continue-on-error=true
7#spring.datasource.initialization-mode=always
8# Postgresql settings
9spring.datasource.platform=postgresql
kaixiang.xia8fb3f952021-03-23 18:19:42 +080010spring.datasource.url=jdbc:postgresql://localhost:15432/carbus
11spring.datasource.username=supwisdom
Xia Kaixiangb9a49152019-11-22 16:29:22 +080012spring.datasource.password=123456
13database.dbtype=postgresql
14
15# Redis settings
16spring.redis.host=localhost
kaixiang.xia8fb3f952021-03-23 18:19:42 +080017spring.redis.port=6379
18spring.redis.password=
Xia Kaixiangb9a49152019-11-22 16:29:22 +080019spring.redis.database=4
20
21# jwt settings
22jwt.secret=Zj5taLomEbrM0lk+NMQZbHfSxaDU1wekjT+kiC3YzDw=
23jwt.expiration=3600
24
25# user password
26auth.password.bcrypt.seed=
27spring.jackson.serialization.fail-on-empty-beans=false
28
Xia Kaixiangb9a49152019-11-22 16:29:22 +080029# payapi setting
30payapi.url=http://localhost:8080/payapi
kaixiang.xia8fb3f952021-03-23 18:19:42 +080031
32server.servlet.context-path=/carbus
33
34# task setting
35payapi.logintime= 0 0/20 * * * ?
36
37cron.offlinedtl= 0 0/5 * * * ?
38#busapp.cardsync.cron=0 0/1 * * * ?
39busapp.cardsync.cron=-
40payapi.submitOfflineDtl=-
41payapi.checkWipDtl=-
42restaurant.statement.cron=-
43busapp.upload.transdtl.task.cron=0 0/1 * * * ?
44
45#restaurant.sync.card.task.cron=0 0/1 * * * ?
46restaurant.sync.card.task.cron=-
47restaurant.chkdtltask.cron=0 0/3 * * * ?