mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 07:14:05 +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_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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue