postgres 18 and fix .env.example
This commit is contained in:
parent
4acd59cd2a
commit
866a3de915
|
|
@ -21,11 +21,12 @@ LOG_DEPRECATIONS_CHANNEL=null
|
||||||
LOG_LEVEL=debug
|
LOG_LEVEL=debug
|
||||||
|
|
||||||
DB_CONNECTION=pgsql
|
DB_CONNECTION=pgsql
|
||||||
DB_HOST=127.0.0.1
|
DB_HOST=pgsql
|
||||||
DB_PORT=5432
|
DB_PORT=5432
|
||||||
DB_DATABASE=todo_api
|
DB_DATABASE=starter_api
|
||||||
DB_USERNAME=root
|
DB_USERNAME=sail
|
||||||
DB_PASSWORD=
|
DB_PASSWORD=password
|
||||||
|
FORWARD_DB_PORT=5431
|
||||||
|
|
||||||
SESSION_DRIVER=database
|
SESSION_DRIVER=database
|
||||||
SESSION_LIFETIME=120
|
SESSION_LIFETIME=120
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ class AppServiceProvider extends ServiceProvider
|
||||||
if ($this->app->environment('production')) {
|
if ($this->app->environment('production')) {
|
||||||
URL::forceScheme('https');
|
URL::forceScheme('https');
|
||||||
}
|
}
|
||||||
Scramble::extendOpenApi(function (OpenApi $openApi) {
|
Scramble::afterOpenApiGenerated(function (OpenApi $openApi) {
|
||||||
$openApi->secure(
|
$openApi->secure(
|
||||||
SecurityScheme::http('bearer')
|
SecurityScheme::http('bearer')
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ services:
|
||||||
- internal
|
- internal
|
||||||
|
|
||||||
pgsql:
|
pgsql:
|
||||||
image: postgres:15-alpine
|
image: postgres:18-alpine
|
||||||
container_name: starter-pgsql-1
|
container_name: starter-pgsql-1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue