1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 03:54:04 +00:00

Change Postgres port

This commit is contained in:
lukinovec 2023-04-25 14:20:55 +02:00
parent 28f8e3854a
commit 18b47fb4d0
3 changed files with 7 additions and 7 deletions

View file

@ -51,10 +51,10 @@ jobs:
POSTGRES_PASSWORD: 'postgres'
POSTGRES_USER: 'postgres'
POSTGRES_DB: main
POSTGRES_PORT: '5434'
PGPORT: '5434'
POSTGRES_PORT: '5433'
PGPORT: '5433'
ports:
- 5434/tcp
- 5433/tcp
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
mysql:

View file

@ -55,15 +55,15 @@ services:
image: 'postgres:15'
user: 'postgres'
ports:
- '${POSTGRES_PORT:-5434}'
- '${POSTGRES_PORT:-5433}'
environment:
PGPASSWORD: '${POSTGRES_PASSWORD:-postgres}'
PGPORT: '${POSTGRES_PORT:-5434}'
PGPORT: '${POSTGRES_PORT:-5433}'
POSTGRES_DB: main
POSTGRES_USER: 'postgres'
POSTGRES_PASSWORD: 'postgres'
expose:
- '${POSTGRES_PORT:-5434}'
- '${POSTGRES_PORT:-5433}'
healthcheck:
test:
- CMD

View file

@ -88,7 +88,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
'driver' => 'pgsql',
'url' => env('DATABASE_URL'),
'host' => 'postgres',
'port' => '5434',
'port' => '5433',
'database' => 'main',
'username' => 'postgres',
'password' => 'postgres',