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
|
||||
|
||||
DB_CONNECTION=pgsql
|
||||
DB_HOST=127.0.0.1
|
||||
DB_HOST=pgsql
|
||||
DB_PORT=5432
|
||||
DB_DATABASE=todo_api
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=
|
||||
DB_DATABASE=starter_api
|
||||
DB_USERNAME=sail
|
||||
DB_PASSWORD=password
|
||||
FORWARD_DB_PORT=5431
|
||||
|
||||
SESSION_DRIVER=database
|
||||
SESSION_LIFETIME=120
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ class AppServiceProvider extends ServiceProvider
|
|||
if ($this->app->environment('production')) {
|
||||
URL::forceScheme('https');
|
||||
}
|
||||
Scramble::extendOpenApi(function (OpenApi $openApi) {
|
||||
Scramble::afterOpenApiGenerated(function (OpenApi $openApi) {
|
||||
$openApi->secure(
|
||||
SecurityScheme::http('bearer')
|
||||
);
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ services:
|
|||
- internal
|
||||
|
||||
pgsql:
|
||||
image: postgres:15-alpine
|
||||
image: postgres:18-alpine
|
||||
container_name: starter-pgsql-1
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Reference in New Issue