mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 12:04:03 +00:00
Change Postgres port
This commit is contained in:
parent
28f8e3854a
commit
18b47fb4d0
3 changed files with 7 additions and 7 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -51,10 +51,10 @@ jobs:
|
||||||
POSTGRES_PASSWORD: 'postgres'
|
POSTGRES_PASSWORD: 'postgres'
|
||||||
POSTGRES_USER: 'postgres'
|
POSTGRES_USER: 'postgres'
|
||||||
POSTGRES_DB: main
|
POSTGRES_DB: main
|
||||||
POSTGRES_PORT: '5434'
|
POSTGRES_PORT: '5433'
|
||||||
PGPORT: '5434'
|
PGPORT: '5433'
|
||||||
ports:
|
ports:
|
||||||
- 5434/tcp
|
- 5433/tcp
|
||||||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
|
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
|
|
|
||||||
|
|
@ -55,15 +55,15 @@ services:
|
||||||
image: 'postgres:15'
|
image: 'postgres:15'
|
||||||
user: 'postgres'
|
user: 'postgres'
|
||||||
ports:
|
ports:
|
||||||
- '${POSTGRES_PORT:-5434}'
|
- '${POSTGRES_PORT:-5433}'
|
||||||
environment:
|
environment:
|
||||||
PGPASSWORD: '${POSTGRES_PASSWORD:-postgres}'
|
PGPASSWORD: '${POSTGRES_PASSWORD:-postgres}'
|
||||||
PGPORT: '${POSTGRES_PORT:-5434}'
|
PGPORT: '${POSTGRES_PORT:-5433}'
|
||||||
POSTGRES_DB: main
|
POSTGRES_DB: main
|
||||||
POSTGRES_USER: 'postgres'
|
POSTGRES_USER: 'postgres'
|
||||||
POSTGRES_PASSWORD: 'postgres'
|
POSTGRES_PASSWORD: 'postgres'
|
||||||
expose:
|
expose:
|
||||||
- '${POSTGRES_PORT:-5434}'
|
- '${POSTGRES_PORT:-5433}'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
- CMD
|
- CMD
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
|
||||||
'driver' => 'pgsql',
|
'driver' => 'pgsql',
|
||||||
'url' => env('DATABASE_URL'),
|
'url' => env('DATABASE_URL'),
|
||||||
'host' => 'postgres',
|
'host' => 'postgres',
|
||||||
'port' => '5434',
|
'port' => '5433',
|
||||||
'database' => 'main',
|
'database' => 'main',
|
||||||
'username' => 'postgres',
|
'username' => 'postgres',
|
||||||
'password' => 'postgres',
|
'password' => 'postgres',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue