forked from yii-starter-kit/yii2-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.dist
57 lines (45 loc) · 1.47 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
# Framework
# ---------
YII_DEBUG = true
YII_ENV = dev
APP_MAINTENANCE = 0
# Application
# -----------
LINK_ASSETS=true
# Databases
# ---------
DB_DSN = mysql:host=db;port=3306;dbname=yii2-starter-kit
DB_USERNAME = ysk_dbu
DB_PASSWORD = ysk_pass
DB_TABLE_PREFIX =
DB_CHARSET = utf8mb4
TEST_DB_DSN = mysql:host=db;port=3306;dbname=yii2-starter-kit-test
TEST_DB_USERNAME = root
TEST_DB_PASSWORD = root
# Urls
# ----
FRONTEND_HOST_INFO = http://yii2-starter-kit.localhost
BACKEND_HOST_INFO = http://backend.yii2-starter-kit.localhost
STORAGE_HOST_INFO = http://storage.yii2-starter-kit.localhost
# Single domain example
# ----
#FRONTEND_HOST_INFO = http://yii2-starter-kit.localhost
#FRONTEND_BASE_URL = /
#BACKEND_HOST_INFO = http://yii2-starter-kit.localhost
#BACKEND_BASE_URL = /backend/web
#STORAGE_HOST_INFO = http://yii2-starter-kit.localhost
#STORAGE_BASE_URL = /storage/web
# Other
# -----
SMTP_HOST = mailcatcher
SMTP_PORT = 1025
FRONTEND_COOKIE_VALIDATION_KEY = <generated_key>
BACKEND_COOKIE_VALIDATION_KEY = <generated_key>
ADMIN_EMAIL = [email protected]
ROBOT_EMAIL = [email protected]
GITHUB_CLIENT_ID = your-client-id
GITHUB_CLIENT_SECRET = your-client-secret
GLIDE_SIGN_KEY = <generated_key>
GLIDE_MAX_IMAGE_SIZE = 4000000
# To resolve "Invalid volumes",For Toolbox. (https://github.com/docker/toolbox/issues/607)
COMPOSE_CONVERT_WINDOWS_PATHS=1