sijun.li | 9646230 | 2020-07-24 10:08:05 +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 |
sijun.li | 81bce77 | 2020-12-23 09:35:28 +0800 | [diff] [blame] | 5 | spring.jpa.hibernate.naming.physical-strategy=com.supwisdom.dlpay.framework.jpa.UpperTableStrategy |
sijun.li | 9646230 | 2020-07-24 10:08:05 +0800 | [diff] [blame] | 6 | spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false |
| 7 | # Postgresql settings |
| 8 | spring.datasource.platform=postgresql |
sijun.li | 0ae1338 | 2020-12-03 14:54:38 +0800 | [diff] [blame] | 9 | spring.datasource.url=jdbc:postgresql://172.28.201.70:15432/portal |
| 10 | #spring.datasource.url=jdbc:postgresql://localhost:5432/portal |
sijun.li | 9646230 | 2020-07-24 10:08:05 +0800 | [diff] [blame] | 11 | spring.datasource.username=payapi |
| 12 | spring.datasource.password=123456 |
| 13 | spring.datasource.continue-on-error=true |
| 14 | spring.datasource.initialization-mode=always |
| 15 | # Redis settings |
| 16 | #spring.redis.host=ykt.supwisdom.com |
sijun.li | 1383b37 | 2020-12-09 11:17:55 +0800 | [diff] [blame] | 17 | #spring.redis.host=localhost |
| 18 | spring.redis.host=172.28.201.70 |
sijun.li | 9646230 | 2020-07-24 10:08:05 +0800 | [diff] [blame] | 19 | spring.redis.port=6379 |
sijun.li | 1383b37 | 2020-12-09 11:17:55 +0800 | [diff] [blame] | 20 | spring.redis.password= |
| 21 | spring.redis.database=3 |
sijun.li | 7531fd1 | 2020-09-10 14:37:35 +0800 | [diff] [blame] | 22 | #port |
sijun.li | e7c5f3f | 2021-01-08 17:56:37 +0800 | [diff] [blame] | 23 | server.port=8089 |
sijun.li | 9646230 | 2020-07-24 10:08:05 +0800 | [diff] [blame] | 24 | # jwt settings |
| 25 | jwt.secret=Zj5taLomEbrM0lk+NMQZbHfSxaDU1wekjT+kiC3YzDw= |
| 26 | # timeout seconds |
| 27 | jwt.expiration=3600 |
| 28 | auth.password.bcrypt.seed= |
| 29 | spring.jackson.serialization.fail-on-empty-beans=false |
| 30 | logging.level.org.springframework.web=DEBUG |
| 31 | security.request.sign=false |
| 32 | ################################################## |
| 33 | ## quartz task scheduler |
| 34 | shopbalance.updater.cron=- |
| 35 | ##################多租户配置 end################################ |
| 36 | ############################################# |
| 37 | spring.cloud.consul.enabled=false |
| 38 | spring.cloud.consul.host=172.28.201.70 |
| 39 | spring.cloud.consul.port=8500 |
| 40 | |
| 41 | #============== kafka =================== |
| 42 | # 指定kafka 代理地址,可以多个 |
| 43 | spring.kafka.bootstrap-servers=172.28.201.101:9192 |
| 44 | #=============== provider ======================= |
| 45 | spring.kafka.producer.retries=3 |
| 46 | # 每次批量发送消息的数量 |
| 47 | spring.kafka.producer.batch-size=16384 |
| 48 | spring.kafka.producer.buffer-memory=33554432 |
| 49 | # 指定消息key和消息体的编解码方式 |
| 50 | spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer |
| 51 | spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.StringSerializer |
| 52 | |
| 53 | #===============kafka consumer ======================= |
| 54 | # 指定默认消费者group id |
| 55 | spring.kafka.listen.auto.start=false |
| 56 | spring.kafka.consumer.group-id=epaymessager1 |
| 57 | spring.kafka.consumer.auto-offset-reset=earliest |
| 58 | spring.kafka.consumer.enable-auto-commit=true |
| 59 | spring.kafka.consumer.auto-commit-interval=100 |
| 60 | # 指定消息key和消息体的编解码方式 |
| 61 | spring.kafka.consumer.key-deserializer=org.apache.kafka.common.serialization.StringDeserializer |
sijun.li | f6e508e | 2020-09-18 17:47:59 +0800 | [diff] [blame] | 62 | spring.kafka.consumer.value-deserializer=org.apache.kafka.common.serialization.StringDeserializer |
| 63 | payapi.url=http://localhost:8080/payapi |