Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Restore db port values
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Mar 15, 2021
1 parent 9690dc9 commit ddd326e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
ACCEPT_EULA: Y
MSSQL_PID: Developer
ports:
- 1433:1433
- 11433:1433
options: --name=mssql --health-cmd="/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P 'SSpaSS__1' -Q 'SELECT 1'" --health-interval=10s --health-timeout=5s --health-retries=3

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
MYSQL_DATABASE: spiral
MYSQL_AUTHENTICATION_PLUGIN: mysql_native_password
ports:
- 3306:3306
- 13306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: spiral
ports:
- 5432:5432
- 15432:5432
options: --name=postgres --health-cmd="pg_isready" --health-interval=10s --health-timeout=5s --health-retries=3

steps:
Expand Down
6 changes: 3 additions & 3 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
'check' => static function () use ($db) {
return $db === 'mysql' || in_array('mysql', \PDO::getAvailableDrivers(), true);
},
'conn' => 'mysql:host=127.0.0.1:3306;dbname=spiral',
'conn' => 'mysql:host=127.0.0.1:13306;dbname=spiral',
'user' => 'root',
'pass' => 'root',
'queryCache' => 100
Expand All @@ -48,7 +48,7 @@
'check' => static function () use ($db) {
return $db === 'postgres' || in_array('pgsql', \PDO::getAvailableDrivers(), true);
},
'conn' => 'pgsql:host=127.0.0.1;port=5432;dbname=spiral',
'conn' => 'pgsql:host=127.0.0.1;port=15432;dbname=spiral',
'user' => 'postgres',
'pass' => 'postgres',
'queryCache' => 100
Expand All @@ -58,7 +58,7 @@
'check' => static function () use ($db) {
return $db === 'sqlserver' || in_array('sqlsrv', \PDO::getAvailableDrivers(), true);
},
'conn' => 'sqlsrv:Server=127.0.0.1,1433;Database=tempdb',
'conn' => 'sqlsrv:Server=127.0.0.1,11433;Database=tempdb',
'user' => 'SA',
'pass' => 'SSpaSS__1',
'queryCache' => 100
Expand Down
6 changes: 3 additions & 3 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
sqlserver:
image: mcr.microsoft.com/mssql/server:2019-latest
ports:
- "1433:1433"
- "11433:1433"
environment:
SA_PASSWORD: "SSpaSS__1"
ACCEPT_EULA: "Y"
Expand All @@ -14,7 +14,7 @@ services:
restart: always
command: --default-authentication-plugin=mysql_native_password
ports:
- "3306:3306"
- "13306:3306"
environment:
MYSQL_DATABASE: "spiral"
MYSQL_ROOT_PASSWORD: "root"
Expand All @@ -24,7 +24,7 @@ services:
image: postgres:12
restart: always
ports:
- "5432:5432"
- "15432:5432"
environment:
POSTGRES_DB: "spiral"
POSTGRES_USER: "postgres"
Expand Down

0 comments on commit ddd326e

Please sign in to comment.