My spring boot application was running fine but when I dockerized it I got File not Found error
I don't know what I'm getting this error when I dockerized my spring-boot application this is my Dockerfile enter image description here
I don't know what I'm getting this error when I dockerized my spring-boot application this is my Dockerfile enter image description here
Does anyone have an example of how to get values from the secret manager on GCP in a .yaml file (application.yaml or bootstrap.yaml)? Thanks! application.yml: spring: datasource: password: ${sm://projects/my-project/secrets/password/versions/1} bootstrap.yml: spring: cloud: gcp: secretmanager: enabled: true secret-name-prefix: 'sm://' Unfortunately I…
There was some dependency incompatibility occurring because we were using an older version of azure keyvault (azure-keyvault-secrets-spring-boot-starter 2.2.1) but it got updated and we are upgrading it to azure-spring-boot-starter-keyvault-secrets 4.0.0. Now the keyvault isn't being connected maybe because the application.yml…
I created the images locally and created one repository in DockerHub called testName/backend. The docker images command shows the created images. REPOSITORY TAG IMAGE ID CREATED SIZE testName/backend 0.0.1-SNAPSHOT 10fc47e065ff 25 minutes ago 459MB backend 0.0.1-SNAPSHOT 10fc47e065ff 25 minutes ago…
I want to add Caching to my Spring Boot Backend. Saving the entries to the Cache seems to work since I can see the json list in Redis after my first request but once I send my second request (which…
I am creating a VM in azure to upload a postgres instance in docker and connect to it with my local backend in Spring. What happens is that once connected to the DB after X time of inactivity when trying…
I am inserting some data to mongo with springboot application, after that I send this data to kafka. I want to be sure that before I send them to kafka they are commited to mongo. Is there a way I…
I am trying to implement Hibernate second level caching in a Spring boot project using Redisson. I have followed this blog as a reference https://pavankjadda.medium.com/implement-hibernate-2nd-level-cache-with-redis-spring-boot-and-spring-data-jpa-7cdbf5632883 Also i am trying to initialize the RedissionClient programmatically and not through declaratively /through a…
I am using SpringBoot v2.7.0 I have following springboot config spring: data: mongodb: uri: ${MONGO_DB_URL} database: ${MONGO_DB_DATABASE} There is not explicit beans configurations. I have repositories for respective documents which extends MongoRepository<ModelNameClass, IDType> This is all working fine. But now…
For some reason it does not seem like application.yml is correctly read in my spring boot application. No matter what I try with the application tries to connect to eureka on local host. spring: application: name: oneminute-dashboard server: port: 5001…