-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
Restarts are slow when using spring-boot-devtools and spring-boot-docker-compose #35435
Comments
We call |
Creating a new Waiting for the services to be ready is also rather slow even though, in this case, there's only a single service. When checking that Postgres is ready, the read timeout in |
https://github.com/wilkinsona/spring-boot/tree/gh-35435 addresses the things described above other than the readiness check. |
Update `DockerCli` so that the docker commands are cached. This helps improve startup time when using devtools with docker compose. See gh-35435
Update `DockerComposeLifecycleManager` so that `docker ps` is not called multiple times. See gh-35435
Default 'spring.docker.compose.readiness.wait' to `ONLY_IF_STARTED` when using devtools. See gh-35435
Doing three devtools restarts... Before:
After:
|
not sure if this is a bug but it's interesting. you can see it in (in)action here https://github.com/spring-tips/development-containers-with-docker-compose-and-testcontainers
The text was updated successfully, but these errors were encountered: