Skip to content

Commit

Permalink
Merge pull request #14477 from deepu105/container-fixes
Browse files Browse the repository at this point in the history
Remove mysql root user setting
  • Loading branch information
DanielFran authored Mar 27, 2021
2 parents 73397d9 + 23b44cf commit 554b48a
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 15 deletions.
2 changes: 0 additions & 2 deletions generators/kubernetes/templates/db/mysql.yml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions generators/server/templates/src/main/docker/app.yml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion test/templates/compose/01-gateway/src/main/docker/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion test/templates/compose/02-mysql/src/main/docker/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion test/templates/compose/02-mysql/src/main/docker/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion test/templates/compose/07-mariadb/src/main/docker/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion test/templates/compose/08-monolith/src/main/docker/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion test/templates/compose/09-kafka/src/main/docker/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion test/templates/compose/09-kafka/src/main/docker/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 554b48a

Please sign in to comment.