skip to Main Content

docker network not working with spring boot and mysql

I am trying to run spring boot and mysql through docker, but there is a problem that I cannot connect. docker-compose.yml version: "3.7" services: docker-mysql: container_name: docker-mysql image: mysql:8.0.28 environment: MYSQL_USER: user MYSQL_PASSWORD: 1234 MYSQL_ROOT_PASSWORD: 1234 ports: - "3306:3306" networks:…

VIEW QUESTION

Inheritance in application properties in spring boot redis configuration

I have application.properties and application-dev.properties. In my application.properties (single node instance) spring.redis.host=127.0.0.1 spring.redis.port=6379 And in my application-dev.properties (since i have cluster set up in dev env) spring.redis.cluster.nodes=10.212.41.20:6379, 10.292.40.291:6379 Now since spring.redis.host is not present in dev profile property file it…

VIEW QUESTION

spire.pdf in a docker container

I create an application that handle pdf and convert them to pdfa3 and also convert the document onto facturX. I developped my application using Springboot and it works fine. Now i'm trying to dockerize my application. I had issue with…

VIEW QUESTION
Back To Top
Search