-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.env.dist
67 lines (53 loc) · 1.71 KB
/
.env.dist
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
# Framework
# ---------
YII_DEBUG = true
#local have dev while live has prod environment
YII_ENV = dev
# Application
# -----------
LINK_ASSETS=false
# Databases
# ---------
LOCAL_DB_DSN = mysql:host=localhost;port=3306;dbname=yii2_starter
LOCAL_DB_USERNAME = root
LOCAL_DB_PASSWORD =
LOCAL_DB_TABLE_PREFIX =
LIVE_DB_DSN = mysql:host=localhost;port=3306;dbname=yii2_starter_live
LIVE_DB_USERNAME =
LIVE_DB_PASSWORD =
LIVE_DB_TABLE_PREFIX =
TEST_DB_DSN = mysql:host=localhost;port=3306;dbname=yii2_starter_test
TEST_DB_USERNAME = root
TEST_DB_PASSWORD =
# Urls local
# ----
LOCAL_FRONTEND_URL = http://localhost/yii2/starter/frontend/web
LOCAL_BACKEND_URL = http://localhost/yii2/starter/backend/web
LOCAL_STORAGE_URL = http://localhost/yii2/starter/storage/web
LOCAL_API_URL = http://localhost/yii2/git/project/api/web
# Urls live
# ----
LIVE_FRONTEND_URL = http://frontend.example.com
LIVE_BACKEND_URL = http://backend.example.com
LIVE_STORAGE_URL = http://storage.example.com
LIVE_API_URL = http://api.example.com
# Other
# -----
SMTP_HOST = smtp.gmail.com
SMTP_USERNAME = '[email protected]'
SMTP_PASSWORD = 'test123'
SMTP_PORT =587
SMTP_ENCRYPTION =tls
#if true mail written in log file
MAIL_FILETRANSPORT = true
FRONTEND_COOKIE_VALIDATION_KEY = <generated_key>
BACKEND_COOKIE_VALIDATION_KEY = <generated_key>
ADMIN_EMAIL = [email protected]
ROBOT_EMAIL = [email protected]
FROM_EMAIL = [email protected]
GITHUB_CLIENT_ID = your-client-id
GITHUB_CLIENT_SECRET = your-client-secret
FACEBOOK_CLIENT_ID = your-client-id
FACEBOOK_CLIENT_SECRET = your-client-secret
GLIDE_SIGN_KEY = <generated_key>
GLIDE_MAX_IMAGE_SIZE = 4000000