File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818 env :
1919 DB_TEST : mysql
20- MYSQL_DB_HOST : 127.0.0.1
21- MYSQL_DB_USERNAME : root
22- MYSQL_DB_PASSWORD : root
2320 RAILS_VERSION : 6.1
2421
2522 services :
Original file line number Diff line number Diff line change 1717
1818 env :
1919 DB_TEST : mysql
20- MYSQL_DB_HOST : 127.0.0.1
21- MYSQL_DB_USERNAME : root
22- MYSQL_DB_PASSWORD : root
2320 RAILS_VERSION : 7.2
2421
2522 services :
Original file line number Diff line number Diff line change 1717
1818 env :
1919 DB_TEST : mysql
20- MYSQL_DB_HOST : 127.0.0.1
21- MYSQL_DB_USERNAME : root
22- MYSQL_DB_PASSWORD : root
2320 RAILS_VERSION : 8.0
2421
2522 services :
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ services:
2828 image : mysql
2929 platform : linux/amd64
3030 environment :
31- MYSQL_ROOT_PASSWORD : password
31+ MYSQL_ROOT_PASSWORD : root
3232
3333 postgres :
3434 image : postgres
@@ -52,8 +52,6 @@ services:
5252 DB_PORT : 3306
5353 MYSQL_DB_HOST : mysql
5454 MYSQL_DB_NAME : test_db
55- MYSQL_DB_USERNAME : root
56- MYSQL_DB_PASSWORD : password
5755 depends_on :
5856 - mysql
5957
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ test: &test
2424 host : <%= ENV.fetch('MYSQL_DB_HOST') { '127.0.0.1' } %>
2525 # port: <%= ENV.fetch('MYSQL_DB_PORT') { 3306 } %>
2626 database : <%= ENV.fetch('MYSQL_DB_NAME') { "active_storage_db_#{Rails.version.tr('.', '')}-test" } %>
27- username : <%= ENV.fetch('MYSQL_DB_USERNAME') { '' } %>
28- password : <%= ENV.fetch('MYSQL_DB_PASSWORD') { '' } %>
27+ username : <%= ENV.fetch('MYSQL_DB_USERNAME') { 'root ' } %>
28+ password : <%= ENV.fetch('MYSQL_DB_PASSWORD') { 'root ' } %>
2929 pool : <%= ENV.fetch('RAILS_MAX_THREADS') { 5 } %>
3030development :
3131 << : *test
You can’t perform that action at this time.
0 commit comments