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 : mssql
20- MSSQL_DB_HOST : 127.0.0.1
21- MSSQL_DB_USERNAME : sa
22- MSSQL_DB_PASSWORD : Pa%%w0rd
2320 RAILS_VERSION : 6.1
2421
2522 services :
Original file line number Diff line number Diff line change 1717
1818 env :
1919 DB_TEST : mssql
20- MSSQL_DB_HOST : 127.0.0.1
21- MSSQL_DB_USERNAME : sa
22- MSSQL_DB_PASSWORD : Pa%%w0rd
2320 RAILS_VERSION : 7.2
2421
2522 services :
Original file line number Diff line number Diff line change 1717
1818 env :
1919 DB_TEST : mssql
20- MSSQL_DB_HOST : 127.0.0.1
21- MSSQL_DB_USERNAME : sa
22- MSSQL_DB_PASSWORD : Pa%%w0rd
2320 RAILS_VERSION : 8.0
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 : 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 @@ -17,17 +17,14 @@ jobs:
1717
1818 env :
1919 DB_TEST : postgres
20- PG_DB_HOST : 127.0.0.1
21- PG_DB_USERNAME : postgres
22- PG_DB_PASSWORD : postgres
2320 RAILS_VERSION : 6.1
2421
2522 services :
2623 postgres :
2724 image : postgres:latest
2825 env :
2926 POSTGRES_USER : postgres
30- POSTGRES_PASSWORD : postgres
27+ POSTGRES_PASSWORD : password
3128 options : >-
3229 --health-cmd pg_isready
3330 --health-interval 10s
Original file line number Diff line number Diff line change @@ -17,17 +17,14 @@ jobs:
1717
1818 env :
1919 DB_TEST : postgres
20- PG_DB_HOST : 127.0.0.1
21- PG_DB_USERNAME : postgres
22- PG_DB_PASSWORD : postgres
2320 RAILS_VERSION : 7.2
2421
2522 services :
2623 postgres :
2724 image : postgres:latest
2825 env :
2926 POSTGRES_USER : postgres
30- POSTGRES_PASSWORD : postgres
27+ POSTGRES_PASSWORD : password
3128 options : >-
3229 --health-cmd pg_isready
3330 --health-interval 10s
Original file line number Diff line number Diff line change @@ -17,17 +17,14 @@ jobs:
1717
1818 env :
1919 DB_TEST : postgres
20- PG_DB_HOST : 127.0.0.1
21- PG_DB_USERNAME : postgres
22- PG_DB_PASSWORD : postgres
2320 RAILS_VERSION : 8.0
2421
2522 services :
2623 postgres :
2724 image : postgres:latest
2825 env :
2926 POSTGRES_USER : postgres
30- POSTGRES_PASSWORD : postgres
27+ POSTGRES_PASSWORD : password
3128 options : >-
3229 --health-cmd pg_isready
3330 --health-interval 10s
Original file line number Diff line number Diff line change @@ -28,46 +28,40 @@ 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
3535 environment :
3636 POSTGRES_PASSWORD : password
3737
38- app_with_mysql :
39- << : *app
40- environment :
41- DB_TEST : mysql
42- DB_PORT : 3306
43- MYSQL_DB_HOST : mysql
44- MYSQL_DB_NAME : test_db
45- MYSQL_DB_USERNAME : root
46- MYSQL_DB_PASSWORD : password
47- depends_on :
48- - mysql
49-
5038 app_with_mssql :
5139 << : *app
5240 environment :
5341 DB_TEST : mssql
5442 DB_PORT : 1433
5543 MSSQL_DB_HOST : mssql
5644 MSSQL_DB_NAME : test_db
57- MSSQL_DB_USERNAME : sa
58- MSSQL_DB_PASSWORD : Pa%%w0rd
5945 depends_on :
6046 - mssql
6147
48+ app_with_mysql :
49+ << : *app
50+ environment :
51+ DB_TEST : mysql
52+ DB_PORT : 3306
53+ MYSQL_DB_HOST : mysql
54+ MYSQL_DB_NAME : test_db
55+ depends_on :
56+ - mysql
57+
6258 app_with_postgres :
6359 << : *app
6460 environment :
6561 DB_TEST : postgres
6662 DB_PORT : 5432
6763 PG_DB_HOST : postgres
6864 PG_DB_NAME : test_db
69- PG_DB_USERNAME : postgres
70- PG_DB_PASSWORD : password
7165 depends_on :
7266 - postgres
7367
You can’t perform that action at this time.
0 commit comments