Skip to content

Comments

SSL support with Docker Compose does not work as documented#49210

Open
itsmevichu wants to merge 5 commits intospring-projects:mainfrom
itsmevichu:gh-49205
Open

SSL support with Docker Compose does not work as documented#49210
itsmevichu wants to merge 5 commits intospring-projects:mainfrom
itsmevichu:gh-49205

Conversation

@itsmevichu
Copy link

Fixes gh-49205

Signed-off-by: itsmevichu <vishnutheep@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 13, 2026
@itsmevichu
Copy link
Author

I'll add the tests shortly

@itsmevichu
Copy link
Author

I have tested this for Elasticsearch; still need to test it for MongoDB and Cassandra.

Signed-off-by: itsmevichu <vishnutheep@gmail.com>
@wilkinsona
Copy link
Member

Thanks for your work on this thus far, @itsmevichu. I think RabbitDockerComposeConnectionDetails is also affected.

@wilkinsona wilkinsona changed the title Fix SSL Support with docker-compose SSL support with Docker Compose does not work as documented Feb 13, 2026
@wilkinsona wilkinsona added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 13, 2026
@wilkinsona wilkinsona added this to the 3.5.x milestone Feb 13, 2026
@wilkinsona wilkinsona added the status: waiting-for-feedback We need additional information before we can continue label Feb 13, 2026
Signed-off-by: itsmevichu <vishnutheep@gmail.com>
@snicoll
Copy link
Member

snicoll commented Feb 18, 2026

@itsmevichu I don't see the tests in the PR. Have I missed something?

Signed-off-by: itsmevichu <vishnutheep@gmail.com>
@itsmevichu
Copy link
Author

@snicoll @wilkinsona I’ve added the tests. At the moment, I’m running them via the Intellij JUnit plugin. How can we run these from the terminal instead? Is there a specific gradle task for executing these docker-compose tests?

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels Feb 20, 2026
Signed-off-by: itsmevichu <vishnutheep@gmail.com>
@wilkinsona
Copy link
Member

Thanks, @itsmevichu. You can run the dockerTest task in the relevant modules. For example:

./gradlew module:spring-boot-elasticsearch:dockerTest

@itsmevichu
Copy link
Author

I tried, but running ./gradlew module:spring-boot-elasticsearch:dockerTest doesn’t seem to execute the Docker Compose integration tests.

@snicoll
Copy link
Member

snicoll commented Feb 23, 2026

@itsmevichu you may have executed the module before Docker was enabled on your machine and the gradle cache doesn't unfortunately take that into account. Make sure docker ps works and then try running again with an additional --rerun-tasks

@itsmevichu
Copy link
Author

Thanks @snicoll! Turns out the DOCKER_HOST env variable wasn’t configured, and that’s what caused the problem. I was expecting a “Docker daemon is not running” error, so that’s what made it confusing. It is working now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: feedback-provided Feedback has been provided type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSL support with Docker Compose does not work as documented

4 participants