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 |
| 10 | spring.datasource.url=jdbc:postgresql://localhost:15432/restaurant |
| 11 | spring.datasource.username=admin |
| 12 | spring.datasource.password=123456 |
| 13 | database.dbtype=postgresql |
| 14 | |
| 15 | # Redis settings |
| 16 | spring.redis.host=localhost |
| 17 | spring.redis.port=16379 |
| 18 | spring.redis.password=kingstar |
| 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 | |
| 29 | # task setting |
| 30 | cron.offlinedtl=0/30 * * * * ? |
| 31 | payapi.logintime=0 0/20 * * * ? |
| 32 | #restaurant.chkdtltask.cron=0 0/3 * * * ? |
| 33 | restaurant.chkdtltask.cron=- |
| 34 | |
| 35 | # payapi setting |
| 36 | payapi.url=http://localhost:8080/payapi |