Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove mysql root user setting #14477

Merged
merged 1 commit into from
Mar 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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