-
Notifications
You must be signed in to change notification settings - Fork 23
/
.env.example
111 lines (95 loc) · 5.7 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
# Environment production、testing and development
ENVIRONMENT = development
# Debug
DEBUG = true
DEBUG_JSON = true
DEBUG_CONSOLE = true
DEBUG_JAVASCRIPT = true
# Encryption key
AUTH_KEY = 7becb888f518b20224a988906df51e05
JWT_AUTH_KEY = 7becb888f518b20224a988906df51e05
AUTH_RSA_PUBLIC_KEY = null
AUTH_RSA_PRIVATE_KEY = null
APP_SECRET_RSA_PUBLIC_KEY = 'LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUExY3hVcnA2bmNvckRtUmhnTStLRwp3YS9uQzdkWGQ1OWRiRWxVWXdOL25JUk5VZUF1UzN4RzRHM2gzK1BBVG9Dem1ocnNlMUJrb1pTQ3BKMlh0dnF4ClVodkxySHZZTzRLWGlBeVlmdEp3dTd2L0doREFaY0JabkpqY3hnOGowK1ZLTkVPdXlMSXFucTZ6eVlHTlZ1b20KU2xnOWJpOEFyNHROZTlqVjMybU1jWGJxSm02QWFkTzZqTTZNVHRMLzJPazNjR2ZWZFJWR1FMMWhBUHV1ZWV5UApWNlZqaWhnWkE3anpkcGdWSEVXemFyTG5BZ25WSlJ4VDNFeXFja0NxSE0rYmVQejNaaHpuUVlpaVNOUUs0bnF2CnR5dWFYM2l0d01MbW80MVk2UEZSbzBPOGx3Z1dEdjd6ZzFSN0IvQ1VWdUdTdnV5S0hobC96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N3UQpKTHdBV0E1SEhwWU1mazJ3TkhKSTF0TWVxdHBTcElaTk9sZHpHQUhoZWt3WkxnOEdJNmhTcUVRNWhJOE8ra2V1CmltVVo1RmFkMnQyZXB1eXI5RTdMMEpEbW13ZENEOEErOFE0bTlWeUZWTDRNUTRRRzM2R1lZWDlVeUlBRzI2UTIKSThGN1p3RTFlNis5M0RSWmlOWTlxTnpNNkE9PQotLS0tLUVORCBQUklWQVRFIEtFWS0tLS0t'
# Resource `php leevel link:[public|storage]`
PUBLIC = http://127.0.0.1:9527/public
STORAGE = http://127.0.0.1:9527/storage
ATTACHMENTS_URL = http://127.0.0.1:9527/attachments
# Lang
I18N = zh-CN
# Database
DATABASE_DRIVER = mysql
DATABASE_HOST = 127.0.0.1
DATABASE_PORT = 3306
DATABASE_NAME = queryphp_development_db
DATABASE_NAME_PREFIX = queryphp_development_db
DATABASE_USER = root
DATABASE_PASSWORD =
# Common database
DATABASE_COMMON_DRIVER = mysql
DATABASE_COMMON_HOST = 127.0.0.1
DATABASE_COMMON_PORT = 3306
DATABASE_COMMON_NAME = queryphp_development_db
DATABASE_COMMON_NAME_PREFIX = queryphp_development_db
DATABASE_COMMON_USER = root
DATABASE_COMMON_PASSWORD =
# Database Pool
DATABASE_MYSQL_POOL_MAX_IDLE_CONNECTIONS = 60
DATABASE_MYSQL_POOL_MAX_POP_TIMEOUT = -1
DATABASE_MYSQL_POOL_MAX_PUSH_TIMEOUT = -1
DATABASE_MYSQL_POOL_KEEP_ALIVE_DURATION = 60
# AUTH
AUTH_EXPIRE = 2592000
# Cache
CACHE_DRIVER = file
CACHE_EXPIRE = 86400
CACHE_REDIS_HOST = 127.0.0.1
CACHE_REDIS_PORT = 6379
CACHE_REDIS_PASSWORD = null
# Cache Pool
CACHE_REDIS_POOL_MAX_IDLE_CONNECTIONS = 60
CACHE_REDIS_POOL_MAX_POP_TIMEOUT = -1
CACHE_REDIS_POOL_MAX_PUSH_TIMEOUT = -1
CACHE_REDIS_POOL_KEEP_ALIVE_DURATION = 60
# Session
SESSION_DRIVER = file
SESSION_FILE_DRIVER = file_session
SESSION_REDIS_DRIVER = redis_session
SESSION_REDIS_HOST = 127.0.0.1
SESSION_REDIS_PORT = 6379
SESSION_REDIS_PASSWORD = null
# Log
LOG_DRIVER = file
LOG_DEFAULT_LEVEL = debug
# Server
SERVER_WORKER_NUM = 1
SERVER_BUILD_IN_PORT = 9527
SERVER_HTTP_HOST = 127.0.0.1
SERVER_HTTP_PORT = 9527
SERVER_WEBSOCKET_HOST = 127.0.0.1
SERVER_WEBSOCKET_PORT = 9527
SERVER_CUSTOM_PROCESS_HOT_OVERLOAD_ENABLED = true
SERVER_CUSTOM_PROCESS_HOT_OVERLOAD_DELAY_COUNT = 0
SERVER_CUSTOM_PROCESS_HOT_OVERLOAD_TIME_INTERVAL = 3000
SERVER_CUSTOM_PROCESS_MAX_REQUEST_ENABLED = true
SERVER_CUSTOM_PROCESS_MAX_REQUEST_MAX_REQUEST = 0
SERVER_CUSTOM_PROCESS_MAX_REQUEST_MAX_WAIT_TIME = 3
# Filesystem
FILESYSTEM_DRIVER = local
FILESYSTEM_FTP_HOST = ftp.example.com
FILESYSTEM_FTP_PORT = 21
FILESYSTEM_FTP_USERNAME = your-username
FILESYSTEM_FTP_PASSWORD = your-password
FILESYSTEM_SFTP_HOST = sftp.example.com
FILESYSTEM_SFTP_PORT = 22
FILESYSTEM_SFTP_USERNAME = your-username
FILESYSTEM_SFTP_PASSWORD = your-password
# View
VIEW_DRIVER = html
# Console
FRAMEWORK_DOC_OUTPUTDIR = "/data/codes/queryphp_framework{i18n}/docs"
FRAMEWORK_DOC_GIT = "https://github.com/hunzhiwange/framework/blob/master"
FRAMEWORK_DOC_LOGDIR = "/data/codes/queryphp_framework/docs-logs"
FRAMEWORK_DOC_I18N = ",zh-CN"
APP_I18N = "zh-CN,en-US"