Generated Docker Compose files
By default, JHipster will generate Docker Compose files that enable us to run the application completely in the containerized environment, irrespective of the options chosen. For example, in the gateway application that we have generated, the following files are generated by default under src/main/docker
:
sonar.yml
: This file creates and starts a SonarQube servermysql.yml
: This file creates and starts a MySQL database server and creates a user and schemajhipster-registry.yml
: This file creates and starts a JHipster Registry serviceapp.yml
: This is the main file that creates and starts the application along with services such as JHipster registry and the database
In addition to this, JHipster also creates a Dockerfile, which helps you to containerize the application alone.
Then we can see a folder called central-server-config
. This will be used as a central configuration server for the JHipster Registry.Â
When the registry and the application are running in Docker...