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

All Questions

Tagged with
0 votes
1 answer
17 views

Authentication failed while connecting to docker-compose mongodb via springboot application

docker-compose.yml version: '4' services: mongodb: image: mongo:7.0.5 container_name: mongodb ports: - "27017:27017" environment: MONGO_INITDB_ROOT_USERNAME: ...
M Hari's user avatar
  • 1
1 vote
1 answer
23 views

mvn verify doesnt start docker-compose

I want to start docker-compose upon integration tests e.g mvn verify command. I am using: <dependency> <groupId>org.springframework.boot</groupId> <artifactId&...
Darlyn's user avatar
  • 4,872
0 votes
0 answers
14 views

My ECS task mapped with portMapping = 9200 but the application end point is running only in port 8080

I am fairly new to AWS and docker. What I have done is -- I have created a sample spring-boot get endpoint Created a docker image from it and pushed the same to DockerHub Created an ECS cluster and ...
akash89's user avatar
  • 891
0 votes
1 answer
25 views

Unable to add WAR-File from CURL to Wildfly Docker image

My goal was to build the WAR of my Spring Boot Application via CI, push the artifact, and retrieve that artifact in a Dockerfile to deploy it using a Wildfly Application Server docker image. I assume ...
StefanoF02's user avatar
0 votes
0 answers
46 views

Problem with Spring Boot,mysql and Docker

I have a spring boot application that has a connection to the mysql database, when I try to dockerize it and create the image whenever the application image will run these logs 2024-07-24 17:45:44 ...
Iago Antunes'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
58 views

Unable to start API from within Docker container

I'm trying to deploy my Spring Boot application and when I run the API on my local machine using mvn spring-boot:run or java -jar PATH it works just fine. But when I try to run it in a Docker ...
daytripper's user avatar
-1 votes
1 answer
59 views

PostgreSQL database not connecting to spring-boot application

I am currently setting up postgreSQL db for my spring-boot project. However, when I try to launch the tomcat server I get exception saying that the repository beans could not be created due to this: ...
learningProgrammer's user avatar
-4 votes
0 answers
32 views

Docker Client api [closed]

javax.ws.rs.core.Response$Status$Family javax.ws.rs.core.Response$Status$Family.familyOf(int) I am geting above exception while reading log of docker container using below config @Bean public ...
Pintu Kumar's user avatar
0 votes
0 answers
22 views

How to customize docker packaged using gradle bootBuildImage

version: spring-boot: 3.3.0 jdk: 21 gradle: 8.6 I have a springboot application that I intend to use docker for containerized deployments (mainly for runtime management). It uses the logback logging ...
greyWolf 's user avatar
0 votes
1 answer
352 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
2 votes
0 answers
59 views

Can't connect to MySQL server in Git-Hub Action

I installed MySQL 9.0 in the docker environment using mirromutth/[email protected] [1] in GitHub Action. I set it up in Spring project as follows. File application.yml spring: datasource: url: ...
min429's user avatar
  • 33
0 votes
1 answer
23 views

Choosen database is not used when using postgresql with docker

I am new to docker.I have written a docker-compose.yaml with following : services: postgres: image: postgres container_name: postgres_db restart: unless-stopped ports: - "...
Suman Devkota'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
39 views

AWS ECS SpringBoot API with RDS PostgreSQL - all tables dissapear 3-4 minutes AFTER a succesful start up

MY ECS task connects over RDS's DB endpoint. I even ran my container locally to the RDS PostgreSQL DB and it worked without a problem. As you can see all the tables are properly created an populated ...
Alfredo Dominguez's user avatar

15 30 50 per page
1
2 3 4 5
201