diff --git a/boot-rabbitmq-thymeleaf/src/main/resources/application-local.properties b/boot-rabbitmq-thymeleaf/src/main/resources/application-local.properties new file mode 100644 index 000000000..16345bc03 --- /dev/null +++ b/boot-rabbitmq-thymeleaf/src/main/resources/application-local.properties @@ -0,0 +1,9 @@ +spring.rabbitmq.host=localhost +spring.rabbitmq.port=5672 +spring.rabbitmq.username=guest +spring.rabbitmq.password=guest + +spring.datasource.driver-class-name=org.postgresql.Driver +spring.datasource.url=jdbc:postgresql://localhost:5432/appdb +spring.datasource.username=appuser +spring.datasource.password=secret diff --git a/boot-rabbitmq-thymeleaf/src/main/resources/application.properties b/boot-rabbitmq-thymeleaf/src/main/resources/application.properties index c21dce426..dc9030c03 100644 --- a/boot-rabbitmq-thymeleaf/src/main/resources/application.properties +++ b/boot-rabbitmq-thymeleaf/src/main/resources/application.properties @@ -1,12 +1,7 @@ -spring.application.name=boot-rabbitmq-theymeleaf +spring.application.name=boot-rabbitmq-thymeleaf logging.level.com.poc.boot.rabbitmq=debug -#spring.rabbitmq.host=localhost -#spring.rabbitmq.port=5672 -#spring.rabbitmq.username=guest -#spring.rabbitmq.password=guest - # Additional RabbitMQ properties spring.rabbitmq.publisher-confirmType=CORRELATED spring.rabbitmq.listener.simple.retry.enabled=true @@ -19,7 +14,7 @@ spring.rabbitmq.listener.simple.retry.max-interval=2s spring.rabbitmq.listener.simple.acknowledge-mode=auto spring.rabbitmq.listener.simple.observation-enabled=true spring.rabbitmq.template.retry.enabled=true -spring.rabbitmq.template.retry.multiplier=5 +spring.rabbitmq.template.retry.multiplier=2 spring.mvc.problemdetails.enabled=true spring.threads.virtual.enabled=true @@ -27,7 +22,7 @@ spring.threads.virtual.enabled=true spring.testcontainers.beans.startup=parallel ################ Actuator ##################### -management.endpoints.web.exposure.include=configprops,env,health,info,logfile,loggers,metrics,prometheus,sbom +management.endpoints.web.exposure.include=health,info,metrics,prometheus management.endpoint.health.show-details=always ################ Database #####################