Xia Kaixiang | b9a4915 | 2019-11-22 16:29:22 +0800 | [diff] [blame] | 1 | spring.main.banner-mode=off |
| 2 | # create and drop tables and sequences, loads import.sql |
| 3 | spring.jpa.hibernate.ddl-auto=update |
| 4 | spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect |
| 5 | spring.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 |
| 9 | spring.datasource.platform=postgresql |
kaixiang.xia | 8fb3f95 | 2021-03-23 18:19:42 +0800 | [diff] [blame^] | 10 | spring.datasource.url=jdbc:postgresql://localhost:15432/carbus |
| 11 | spring.datasource.username=supwisdom |
Xia Kaixiang | b9a4915 | 2019-11-22 16:29:22 +0800 | [diff] [blame] | 12 | spring.datasource.password=123456 |
| 13 | database.dbtype=postgresql |
| 14 | |
| 15 | # Redis settings |
| 16 | spring.redis.host=localhost |
kaixiang.xia | 8fb3f95 | 2021-03-23 18:19:42 +0800 | [diff] [blame^] | 17 | spring.redis.port=6379 |
| 18 | spring.redis.password= |
Xia Kaixiang | b9a4915 | 2019-11-22 16:29:22 +0800 | [diff] [blame] | 19 | spring.redis.database=4 |
| 20 | |
| 21 | # jwt settings |
| 22 | jwt.secret=Zj5taLomEbrM0lk+NMQZbHfSxaDU1wekjT+kiC3YzDw= |
| 23 | jwt.expiration=3600 |
| 24 | |
| 25 | # user password |
| 26 | auth.password.bcrypt.seed= |
| 27 | spring.jackson.serialization.fail-on-empty-beans=false |
| 28 | |
Xia Kaixiang | b9a4915 | 2019-11-22 16:29:22 +0800 | [diff] [blame] | 29 | # payapi setting |
| 30 | payapi.url=http://localhost:8080/payapi |
kaixiang.xia | 8fb3f95 | 2021-03-23 18:19:42 +0800 | [diff] [blame^] | 31 | |
| 32 | server.servlet.context-path=/carbus |
| 33 | |
| 34 | # task setting |
| 35 | payapi.logintime= 0 0/20 * * * ? |
| 36 | |
| 37 | cron.offlinedtl= 0 0/5 * * * ? |
| 38 | #busapp.cardsync.cron=0 0/1 * * * ? |
| 39 | busapp.cardsync.cron=- |
| 40 | payapi.submitOfflineDtl=- |
| 41 | payapi.checkWipDtl=- |
| 42 | restaurant.statement.cron=- |
| 43 | busapp.upload.transdtl.task.cron=0 0/1 * * * ? |
| 44 | |
| 45 | #restaurant.sync.card.task.cron=0 0/1 * * * ? |
| 46 | restaurant.sync.card.task.cron=- |
| 47 | restaurant.chkdtltask.cron=0 0/3 * * * ? |