Skip to content

Commit

Permalink
Create ration-service-dev.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
indiagator authored Oct 9, 2024
1 parent ab0ee72 commit 517ecf7
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions ration-service-dev.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
service.name= ration-service

spring.jpa.hibernate.ddl-auto=none
spring.jpa.database=POSTGRESQL
spring.datasource.platform=postgres
spring.jpa.show-sql = true
spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
spring.database.driverClassName= org.postgresql.Driver
spring.datasource.username= indiagator
spring.datasource.password= Dedsec@7
spring.datasource.url= jdbc:postgresql://localhost:5432/egov
spring.datasource.testWhileIdle = true
spring.datasource.validationQuery = SELECT 1

eureka.instance.preferIpAddress= true
eureka.client.registerWithEureka= true
eureka.client.fetchRegistry= true
eureka.client.serviceUrl.defaultZone= http://localhost:8761/eureka

gateway-server.hostname=localhost
gateway-server.portnumber=8072

spring.kafka.consumer.bootstrap-servers= localhost:9092
spring.kafka.consumer.group-id= social-consumer
spring.kafka.consumer.auto-offset-reset=earliest
spring.kafka.consumer.key-deserializer= org.apache.kafka.common.serialization.StringDeserializer
spring.kafka.consumer.value-deserializer= org.apache.kafka.common.serialization.StringDeserializer

spring.kafka.producer.bootstrap-servers= localhost:9092
spring.kafka.producer.key-serializer= org.apache.kafka.common.serialization.StringSerializer
spring.kafka.producer.value-serializer= org.apache.kafka.common.serialization.StringSerializer


zipkin.baseUrl: http://localhost:9411

management.endpoints.web.exposure.include= health, metrics, prometheus
management.metrics.tags.application=${spring.application.name}

0 comments on commit 517ecf7

Please sign in to comment.