This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
140 lines (111 loc) · 3.21 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# DO NOT modify .env.example file.
# Copy .env.example file as .env file and modify .env file
# This file sets several settings for this application
# This information is sensitive, so do not share
# .env file in public.
# .env file is added to the .gitignore file by default
# Name of the application
APP_NAME=Blog
# For production : production
# For development : development
# default : production
APP_ENV=production
# For production : false
# For development : true
# default : false
APP_DEBUG=false
# This key is generated at application creation and related to
# security. Do not share in public.
# For first use: copy .env.example as .env then run
# php artisan key:generate
#
# default: empty
APP_KEY=
# URL of the blog
APP_URL=
# Management url for web routes
# default: manage
APP_MANAGEMENT=manage
# Management url for api routes
# default: manage
APP_MAPI=manage
# Default user role
# default: member
APP_DEFAULT_USER_ROLE=member
# Default guard
# default: web
APP_DEFAULT_GUARD=web
# How many posts do we list per page
# default: 10
APP_POSTS_PER_PAGE=10
# How many posts dowe list on homepage
# default: last 3
APP_POSTS_IN_HOMEPAGE=3
APP_MEDIA_PER_PAGE=10
# Does classic form based enabled ?
# default : true
APP_FORM_LOGIN=true
# Default login method
# Options: form_login, google, github
# form_login: classic form based login
# google: OAuth2 Login via Google
# github: OAuth2 Login via Github
# Login methods other than form_login must be setup before enabling
#
# default: form_login
APP_DEFAULT_AUTH=form_login
LOG_CHANNEL=stack
# Main database connection for the application
# After creating the databases and users
# enter the related information below
DB_CONNECTION=<connection_name>
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=<database_name>
DB_USERNAME=<database_user>
DB_PASSWORD=<database_password>
# Test Database settings
TEST_DB_CONNECTION=<connection_name>
TEST_DB_HOST=127.0.0.1
TEST_DB_PORT=3306
TEST_DB_DATABASE=<database_name>
TEST_DB_USERNAME=<database_user>
TEST_DB_PASSWORD=<database_password>
BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
# Email settings
MAIL_DRIVER=smtp
MAIL_HOST=sandbox.smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=<username>
MAIL_PASSWORD=<password>
MAIL_FROM_ADDRESS="<email_address>"
MAIL_FROM_NAME="Blog"
MAIL_PRETEND=false
# MAIL_ENCRYPTION=tls
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
#STRIPE_KEY="......................."
#STRIPE_SECRET="......................."
# Must be in commented state on applications first run.
# Social login must be setup before uncommenting following lines
# GOOGLE_AUTH_ENDPOINT="/google"
# GOOGLE_TOKEN_EXCHANGE_ENDPOINT="/google/endp"
# GOOGLE_CLIENT_ID="......................."
# GOOGLE_CLIENT_SECRET="......................."
# Must be in commented state on applications first run.
# Social login must be setup before uncommenting following lines
# GITHUB_AUTH_ENDPOINT="/ghauth"
# GITHUB_TOKEN_EXCHANGE_ENDPOINT="/github/endp"
# GITHUB_CLIENT_ID="......................."
# GITHUB_CLIENT_SECRET="......................."