All Questions
Tagged with docker-compose spring-boot
863
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
...
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:
...
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....
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 ...
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 ...
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:
...
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:...
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 ...
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 ...
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 ...
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 ["...
-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....
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 ...
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....
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 ...