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