jhipster / generator-jhipster-docker-compose

DO NOT USE THIS REPO - it's now a sub-generator in the main generator-jhipster project
Other
12 stars 7 forks source link

Feature: update JWT secret keys to same in all apps #4

Closed deepu105 closed 8 years ago

deepu105 commented 8 years ago

Currently we have to update the keys manually. It would be nice to do that while running this generator so that all keys are in sync

wmarques commented 8 years ago

If you run with the registry the keys should be sync as the registry sends his config, including JWT key, to the applications. But maybe you have to start the registry before the other applications. I couldn't find a way to wait for registry complete startup before starting the other apps in docker.

pascalgrimaud commented 8 years ago

@wmarques : it's the main "issue", when using docker-compose :-) Compose introduced depend_on but it's not enough...

wmarques commented 8 years ago

So maybe we should tell the user to start the registry by running docker-compose up jhipster-registry and then run docker-compose up?

deepu105 commented 8 years ago

yes May be we should document it better. or find a way to start these in sequence

Thanks & Regards, Deepu

On Tue, Mar 15, 2016 at 5:49 PM, William Marques notifications@github.com wrote:

So maybe we should tell the user to start the registry by running docker-compose up jhipster-registry and then run docker-compose up?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub:

https://github.com/jhipster/generator-jhipster-docker-compose/issues/4#issuecomment-196745492

pascalgrimaud commented 8 years ago

imo, it's the best option, @wmarques

wmarques commented 8 years ago

Done here