mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 10:34:04 +00:00
Revert extra changes in docker-compose
This commit is contained in:
parent
aafb629bae
commit
9f4079e774
2 changed files with 3 additions and 6 deletions
|
|
@ -53,17 +53,14 @@ services:
|
||||||
retries: 10
|
retries: 10
|
||||||
postgres:
|
postgres:
|
||||||
image: 'postgres:15'
|
image: 'postgres:15'
|
||||||
user: '${POSTGRES_USER:-postgres}'
|
|
||||||
ports:
|
ports:
|
||||||
- '${POSTGRES_PORT:-5433}'
|
- '${POSTGRES_PORT:-5432}'
|
||||||
environment:
|
environment:
|
||||||
PGPASSWORD: '${POSTGRES_PASSWORD:-postgres}'
|
PGPASSWORD: '${POSTGRES_PASSWORD:-postgres}'
|
||||||
PGPORT: '${POSTGRES_PORT:-5433}'
|
PGPORT: '${POSTGRES_PORT:-5432}'
|
||||||
POSTGRES_DB: main
|
POSTGRES_DB: main
|
||||||
POSTGRES_USER: '${POSTGRES_USER:-postgres}'
|
POSTGRES_USER: '${POSTGRES_USER:-postgres}'
|
||||||
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD:-postgres}'
|
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD:-postgres}'
|
||||||
expose:
|
|
||||||
- '${POSTGRES_PORT:-5433}'
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
- CMD
|
- CMD
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,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' => '5433',
|
'port' => '5432',
|
||||||
'database' => 'main',
|
'database' => 'main',
|
||||||
'username' => 'postgres',
|
'username' => 'postgres',
|
||||||
'password' => 'postgres',
|
'password' => 'postgres',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue