Cleanup .env.example and configs (#624)

* add back some configs to add some defaults

* cleanup .env.example
This commit is contained in:
Boy132 2024-10-15 22:37:05 +02:00 committed by GitHub
parent f2063d7506
commit 71116e81ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 25 additions and 29 deletions

View File

@ -1,34 +1,7 @@
APP_ENV=production APP_ENV=production
APP_DEBUG=false APP_DEBUG=false
APP_KEY= APP_KEY=
APP_TIMEZONE=UTC
APP_URL=http://panel.test APP_URL=http://panel.test
APP_LOCALE=en
APP_INSTALLED=false APP_INSTALLED=false
APP_TIMEZONE=UTC
LOG_CHANNEL=daily APP_LOCALE=en
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=sqlite
CACHE_STORE=file
QUEUE_CONNECTION=database
SESSION_DRIVER=file
MAIL_MAILER=log
MAIL_HOST=smtp.example.com
MAIL_PORT=25
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=no-reply@example.com
MAIL_FROM_NAME="Pelican Admin"
# Set this to your domain to prevent it defaulting to 'localhost', causing mail servers such as Gmail to reject your mail
# MAIL_EHLO_DOMAIN=panel.example.com
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
SESSION_COOKIE=pelican_session

7
config/logging.php Normal file
View File

@ -0,0 +1,7 @@
<?php
return [
'default' => env('LOG_CHANNEL', 'daily'),
];

View File

@ -2,6 +2,13 @@
return [ return [
'default' => env('MAIL_MAILER', 'log'),
'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'no-reply@example.com'),
'name' => env('MAIL_FROM_NAME', 'Pelican Admin'),
],
'mailers' => [ 'mailers' => [
'mailgun' => [ 'mailgun' => [
'transport' => 'mailgun', 'transport' => 'mailgun',

9
config/session.php Normal file
View File

@ -0,0 +1,9 @@
<?php
return [
'driver' => env('SESSION_DRIVER', 'file'),
'cookie' => env('SESSION_COOKIE', 'pelican_session'),
];