Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
1 answer
15 views

I am Dockerizing my Spring boot application and i am getting connection refusal errors

Here is my project https://github.com/haseeb1988/spRegistration.git // Creating network docker network create -d bridge sp-sql-net // build images docker build -t springboot_website . //run container ...
mohammad haseeb's user avatar
0 votes
0 answers
24 views

Connection timeout to redis docker image from spring boot app when using VPN

I have a spring boot app thats running NOT in docker. For local test runs, I have a docker-compose.yml to start required tools: services: redis: image: hub.server.lan/redis:5.0.14 ports: ...
Fl.pf.'s user avatar
  • 345
0 votes
1 answer
335 views

Return value of sqlExceptionHelper() is null

I was trying my hands on running my Spring Boot application with MySQL database on Docker Desktop via docker compose. I am getting this error upon running docker compose up . app-1 | java.lang....
amangupta's user avatar
0 votes
0 answers
17 views

Is there any way to fix host port while attaching intellij debugger and docker compose?

I am using IntelliJ Ultimate to develop Spring Boot application. I found this link and followed everything to integrate Intellij debugger and Docker container(created via docker-compose). I ended up ...
hilaw00's user avatar
  • 35
0 votes
1 answer
46 views

Containerized Spring boot application is unable to connect to database within container

I seem to be encountering an error within an application that I have created in changing it to be ran via docker. I want to be able to stat the application from running docker compose so I created a ...
Dylan Hayes's user avatar
0 votes
1 answer
28 views

spring boot app with rabbitmq queue connection refused while running by dockercompose

services: postgres: container_name: postgres image: postgres:latest environment: POSTGRES_DB: mydatabase POSTGRES_USER: myuser POSTGRES_PASSWORD: mypassword ports: ...
pompomek's user avatar
0 votes
0 answers
41 views

configure proxy for keycloak with spring boot(client and resource server(oauth2)) with nginx inside docker

I need to configure a proxy for aut/reg in my spring boot app I use docker-compose for local deployment docker-compose File name: tracker-v01 services: db: restart: always image: postgres:...
Diachenko Danylo's user avatar
1 vote
0 answers
35 views

docker-compose not reading from my .env file

I have a spring boot application that I have got working in a docker container and now I am trying to move some hard-coded values out of my application.properties. I know these questions get asked a ...
Sam's user avatar
  • 11
0 votes
1 answer
47 views

How to deal with a common Spring Boot module while Dockerizing micro-services application?

I would like to Dockerize all my Spring Boot micro services in a single docker-compose file. The problem is that all micro services are using a common module where I have written shared code (to avoid ...
lil's user avatar
  • 5
0 votes
1 answer
46 views

Problem while dockerizing angular/spring boot application [duplicate]

I'm trying to dockerize an angular application with a spring boot one and setting a postgres Database. I setup everything but I'm having problems with nginx I suppose it doesn't forward the request to ...
Ramez wechteti's user avatar
0 votes
0 answers
36 views

I can't connect and run spring boot + postgre in docker (org.postgresql.util.PSQLException: The connection attempt failed.)

This is my dockerfile #download the openjdk image FROM openjdk:17 # add argument to the docker image ARG JAR_FILE=target/*.jar COPY ${JAR_FILE} api-service.jar # run the jar file ENTRYPOINT ["...
Hieu_Tran's user avatar
-1 votes
0 answers
39 views

My Spring Boot CRUD application is not working in EC2 instance

I have a Spring Boot CRUD application with MySQL which works completely fine on my localhost. Now I want it to host on the AWS EC2, but I am getting communication link failure every time. application....
Shrey Saxena's user avatar
1 vote
1 answer
17 views

Spring boot in docker: doesnot work uploading images

I have spring boot appliacation for uploading files. When use it local, uploading files work well. When run app in docker, files uploads, but doesnot display. Upload files in directory: /uploads. In ...
Nikita Kuptsov's user avatar
0 votes
1 answer
65 views

Docker image with Spring Boot connect to external Postgres

I have a Dockerized Spring Boot 3 (Java21) application and I am connect to an existing Postgres database, running on DEV & PROD. pom.xml <dependency> <groupId>org....
Richard's user avatar
  • 8,729
0 votes
1 answer
56 views

Docker Compose PostgreSQL Data Persistence Not Working as Expected

I'm having trouble with data persistence in my Docker Compose setup for a Spring Boot application that uses PostgreSQL. The data persists only when I stop the PostgreSQL container individually and ...
Pangkey's user avatar

15 30 50 per page
1
2 3 4 5
58