I faced this problem when building docker images and generating docker-compose.yml for my microservices. Unfortunately, I cannot use docker as a development environment, since it is not automatically reload after code changes and it is a waste of time since it requires rebuilding images and lauching again.
https://github.com/jhipster/generator-jhipster/issues/6126
4.14.1
entityName.json files generated in the .jhipster directory
OS: Linux stretch 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux
what is the problem here, thats how it works. If you want live reload the use the development workflow and not docker. Run applications(except registry and console) using ./mvnw or ./gradlew and run yarn start for gateway
@deepu105 thanks for your quick response, but actually I want live reload with docker, since I am using ElasticSearch and it is not embedded based on @jdubois response on a previous issue https://github.com/jhipster/generator-jhipster/issues/7413 . Otherwise you can see that it is possible to use docker as a development tool with live reload on spirng http://endoflineblog.com/optimizing-development-with-docker
what do you think about that? It can be possible to PR this issue?
Thanks
If you know how to make it work, then please do a PR and we can consider it
based on how it fits our flow
Thanks & Regards,
Deepu
On Thu, Jun 7, 2018 at 2:07 PM Naamane Ilias notifications@github.com
wrote:
@deepu105 https://github.com/deepu105 thanks for your quick response,
but actually I want live reload with docker, since I am using ElasticSearch
and it is not embedded based on @jdubois https://github.com/jdubois
response on a previous issue #7413
https://github.com/jhipster/generator-jhipster/issues/7413 . Otherwise
you can see that it is possible to use docker as a development tool with
live reload on spirng
http://endoflineblog.com/optimizing-development-with-dockerwhat do you think about that? It can be possible to PR this issue?
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jhipster/generator-jhipster/issues/7742#issuecomment-395396965,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABDlFwHX7Cev96ROEOi6iIllhrcjwHwwks5t6RdpgaJpZM4UeGue
.
You can launch the Elasticsearch docker container with docker-compose -f src/main/docker/elasticsearch.yml up -d and connect to it from the app running with ./mvnw or ./gradlew
Most helpful comment
You can launch the Elasticsearch docker container with
docker-compose -f src/main/docker/elasticsearch.yml up -dand connect to it from the app running with./mvnwor./gradlew