mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-19 17:34:45 +02:00
Cleanup .env.example
and configs (#624)
* add back some configs to add some defaults * cleanup .env.example
This commit is contained in:
parent
f2063d7506
commit
71116e81ba
31
.env.example
31
.env.example
@ -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
7
config/logging.php
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'default' => env('LOG_CHANNEL', 'daily'),
|
||||||
|
|
||||||
|
];
|
@ -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
9
config/session.php
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'driver' => env('SESSION_DRIVER', 'file'),
|
||||||
|
|
||||||
|
'cookie' => env('SESSION_COOKIE', 'pelican_session'),
|
||||||
|
|
||||||
|
];
|
Loading…
x
Reference in New Issue
Block a user