diff --git a/generators/kubernetes/templates/db/mysql.yml.ejs b/generators/kubernetes/templates/db/mysql.yml.ejs index 90e6308be8a..a9280a0bf42 100644 --- a/generators/kubernetes/templates/db/mysql.yml.ejs +++ b/generators/kubernetes/templates/db/mysql.yml.ejs @@ -64,8 +64,6 @@ spec: - name: mysql image: <%= DOCKER_MYSQL %> env: - - name: MYSQL_USER - value: root - name: MYSQL_ALLOW_EMPTY_PASSWORD value: 'yes' - name: MYSQL_DATABASE diff --git a/generators/server/templates/src/main/docker/app.yml.ejs b/generators/server/templates/src/main/docker/app.yml.ejs index fce56b07cc9..7611093bc4b 100644 --- a/generators/server/templates/src/main/docker/app.yml.ejs +++ b/generators/server/templates/src/main/docker/app.yml.ejs @@ -105,7 +105,6 @@ services: # volumes: # - ~/volumes/jhipster/<%= baseName %>/mysql/:/var/lib/mysql/ environment: - - MYSQL_USER=root - MYSQL_ALLOW_EMPTY_PASSWORD=yes - MYSQL_DATABASE=<%= baseName.toLowerCase() %> # If you want to expose these ports outside your dev PC, @@ -120,7 +119,6 @@ services: # volumes: # - ~/volumes/jhipster/<%= baseName %>/mysql/:/var/lib/mysql/ environment: - - MYSQL_USER=root - MYSQL_ALLOW_EMPTY_PASSWORD=yes - MYSQL_DATABASE=<%= baseName.toLowerCase() %> # If you want to expose these ports outside your dev PC, diff --git a/generators/server/templates/src/main/docker/mariadb.yml.ejs b/generators/server/templates/src/main/docker/mariadb.yml.ejs index ee606847d3a..5298933e315 100644 --- a/generators/server/templates/src/main/docker/mariadb.yml.ejs +++ b/generators/server/templates/src/main/docker/mariadb.yml.ejs @@ -24,7 +24,6 @@ services: # volumes: # - ~/volumes/jhipster/<%= baseName %>/mysql/:/var/lib/mysql/ environment: - - MYSQL_USER=root - MYSQL_ALLOW_EMPTY_PASSWORD=yes - MYSQL_DATABASE=<%= baseName.toLowerCase() %> # If you want to expose these ports outside your dev PC, diff --git a/test/templates/compose/01-gateway/src/main/docker/app.yml b/test/templates/compose/01-gateway/src/main/docker/app.yml index e72b48b2e17..0150db5e06e 100644 --- a/test/templates/compose/01-gateway/src/main/docker/app.yml +++ b/test/templates/compose/01-gateway/src/main/docker/app.yml @@ -13,7 +13,6 @@ services: # volumes: # - ~/volumes/jhipster/jhgate/mysql/:/var/lib/mysql/ environment: - - MYSQL_USER=root - MYSQL_ALLOW_EMPTY_PASSWORD=yes - MYSQL_DATABASE=jhgate ports: diff --git a/test/templates/compose/01-gateway/src/main/docker/mysql.yml b/test/templates/compose/01-gateway/src/main/docker/mysql.yml index facacb1a378..a51cdc0e5b5 100644 --- a/test/templates/compose/01-gateway/src/main/docker/mysql.yml +++ b/test/templates/compose/01-gateway/src/main/docker/mysql.yml @@ -5,7 +5,6 @@ services: # volumes: # - ~/volumes/jhipster/jhgate/mysql/:/var/lib/mysql/ environment: - - MYSQL_USER=root - MYSQL_ALLOW_EMPTY_PASSWORD=yes - MYSQL_DATABASE=jhgate ports: diff --git a/test/templates/compose/02-mysql/src/main/docker/app.yml b/test/templates/compose/02-mysql/src/main/docker/app.yml index fb3c094ac98..3d8b69b847a 100644 --- a/test/templates/compose/02-mysql/src/main/docker/app.yml +++ b/test/templates/compose/02-mysql/src/main/docker/app.yml @@ -11,7 +11,6 @@ services: # volumes: # - ~/volumes/jhipster/msmysql/mysql/:/var/lib/mysql/ environment: - - MYSQL_USER=root - MYSQL_ALLOW_EMPTY_PASSWORD=yes - MYSQL_DATABASE=msmysql ports: diff --git a/test/templates/compose/02-mysql/src/main/docker/mysql.yml b/test/templates/compose/02-mysql/src/main/docker/mysql.yml index ea22d34ce94..2ae947e0f15 100644 --- a/test/templates/compose/02-mysql/src/main/docker/mysql.yml +++ b/test/templates/compose/02-mysql/src/main/docker/mysql.yml @@ -5,7 +5,6 @@ services: # volumes: # - ~/volumes/jhipster/msmysql/mysql/:/var/lib/mysql/ environment: - - MYSQL_USER=root - MYSQL_ALLOW_EMPTY_PASSWORD=yes - MYSQL_DATABASE=msmysql ports: diff --git a/test/templates/compose/07-mariadb/src/main/docker/app.yml b/test/templates/compose/07-mariadb/src/main/docker/app.yml index f750c3ec61d..3c838ace1c7 100644 --- a/test/templates/compose/07-mariadb/src/main/docker/app.yml +++ b/test/templates/compose/07-mariadb/src/main/docker/app.yml @@ -11,7 +11,6 @@ services: # volumes: # - ~/volumes/jhipster/msmysql/mysql/:/var/lib/mysql/ environment: - - MYSQL_USER=root - MYSQL_ALLOW_EMPTY_PASSWORD=yes - MYSQL_DATABASE=msmysql ports: diff --git a/test/templates/compose/07-mariadb/src/main/docker/mariadb.yml b/test/templates/compose/07-mariadb/src/main/docker/mariadb.yml index 22fae3c0de4..45bd354e1cd 100644 --- a/test/templates/compose/07-mariadb/src/main/docker/mariadb.yml +++ b/test/templates/compose/07-mariadb/src/main/docker/mariadb.yml @@ -5,7 +5,6 @@ services: # volumes: # - ~/volumes/jhipster/msmysql/mysql/:/var/lib/mysql/ environment: - - MYSQL_USER=root - MYSQL_ALLOW_EMPTY_PASSWORD=yes - MYSQL_DATABASE=msmysql ports: diff --git a/test/templates/compose/08-monolith/src/main/docker/app.yml b/test/templates/compose/08-monolith/src/main/docker/app.yml index 37f93b4a4ce..155b17b3bfd 100644 --- a/test/templates/compose/08-monolith/src/main/docker/app.yml +++ b/test/templates/compose/08-monolith/src/main/docker/app.yml @@ -13,7 +13,6 @@ services: # volumes: # - ~/volumes/jhipster/sampleMysql/mysql/:/var/lib/mysql/ environment: - - MYSQL_USER=root - MYSQL_ALLOW_EMPTY_PASSWORD=yes - MYSQL_DATABASE=samplemysql ports: diff --git a/test/templates/compose/08-monolith/src/main/docker/mysql.yml b/test/templates/compose/08-monolith/src/main/docker/mysql.yml index 9a7c7ba2084..87b38485208 100644 --- a/test/templates/compose/08-monolith/src/main/docker/mysql.yml +++ b/test/templates/compose/08-monolith/src/main/docker/mysql.yml @@ -5,7 +5,6 @@ services: # volumes: # - ~/volumes/jhipster/sampleMysql/mysql/:/var/lib/mysql/ environment: - - MYSQL_USER=root - MYSQL_ALLOW_EMPTY_PASSWORD=yes - MYSQL_DATABASE=samplemysql ports: diff --git a/test/templates/compose/09-kafka/src/main/docker/app.yml b/test/templates/compose/09-kafka/src/main/docker/app.yml index a9a1168b033..eeeb19cb419 100644 --- a/test/templates/compose/09-kafka/src/main/docker/app.yml +++ b/test/templates/compose/09-kafka/src/main/docker/app.yml @@ -21,7 +21,6 @@ services: # volumes: # - ~/volumes/jhipster/sampleKafka/mysql/:/var/lib/mysql/ environment: - - MYSQL_USER=root - MYSQL_ALLOW_EMPTY_PASSWORD=yes - MYSQL_DATABASE=samplekafka ports: diff --git a/test/templates/compose/09-kafka/src/main/docker/mysql.yml b/test/templates/compose/09-kafka/src/main/docker/mysql.yml index 4bd07b58fb9..2cbe95e4daa 100644 --- a/test/templates/compose/09-kafka/src/main/docker/mysql.yml +++ b/test/templates/compose/09-kafka/src/main/docker/mysql.yml @@ -5,7 +5,6 @@ services: # volumes: # - ~/volumes/jhipster/sampleKafka/mysql/:/var/lib/mysql/ environment: - - MYSQL_USER=root - MYSQL_ALLOW_EMPTY_PASSWORD=yes - MYSQL_DATABASE=samplekafka ports: