Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docker-compose support for nats #50

Open
kunalvarpe opened this issue Jan 17, 2025 · 2 comments · May be fixed by #51
Open

Add docker-compose support for nats #50

kunalvarpe opened this issue Jan 17, 2025 · 2 comments · May be fixed by #51
Assignees
Labels
enhancement New feature or request

Comments

@kunalvarpe
Copy link
Collaborator

With new Spring Boot 3.x, there is enhance support for testing the application using the docker compose. After adding this support you can able to do following.

  • Add docker compose file to initialize nats docker container server for local development.
  • You can even use Test-Containers support for writing integration test.
@kunalvarpe kunalvarpe self-assigned this Jan 17, 2025
@scottf
Copy link
Collaborator

scottf commented Jan 17, 2025

@kunalvarpe Any chance you can make a PR for this? Is it as simple as a dockerfile? There is a project that is designed to run a server. See this project: https://github.com/YunaBraska/nats-server-embedded?tab=readme-ov-file

@kunalvarpe
Copy link
Collaborator Author

kunalvarpe commented Jan 18, 2025

@kunalvarpe Any chance you can make a PR for this? Is it as simple as a dockerfile? There is a project that is designed to run a server. See this project: https://github.com/YunaBraska/nats-server-embedded?tab=readme-ov-file

@scottf Yes I am working on this, but this is not that straight forward. We need to first add support for ServiceConnection and later incrementally support for docker compose file. I will create issue for that and work on both.
I might be wrong here let me do the changes and test it then will confirm further changes are required or not

kunalvarpe added a commit to kunalvarpe/spring-nats that referenced this issue Jan 20, 2025
@kunalvarpe kunalvarpe linked a pull request Jan 20, 2025 that will close this issue
@kunalvarpe kunalvarpe added the enhancement New feature or request label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants