-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.examlpe
82 lines (66 loc) · 1.5 KB
/
.env.examlpe
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
# App
APP_DEBUG=true
APP_NAME='Triangle App'
APP_TIMEZONE='Europe/Moscow'
CONTROLLER_REUSE=true
CONTROLLER_SUFFIX=''
# Service (container)
APP_SERVICES=false
# Database
DB_CONNECTION='mysql'
DB_HOST='127.0.0.1'
DB_PORT=3306
DB_DATABASE='triangle'
DB_USERNAME='root'
DB_PASSWORD=''
# Log
LOG_FILE_NAME='logs/triangle.log'
LOG_FILE_COUNT=7
LOG_FILE_LEVEL='debug'
LOG_FILE_FORMAT=null
LOG_FILE_DATE_FORMAT='Y-m-d H:i:s'
LOG_FILE_INLINE_BREAKS=true
# File Monitor
PROCESS_FILE_MONITOR=true
# Redis
REDIS_CLIENT='predis'
REDIS_CLUSTER='redis'
REDIS_PREFIX='triangle_'
REDIS_PREFIX_SESSION='triangle_session_'
REDIS_HOST='127.0.0.1'
REDIS_PORT=6379
REDIS_PASSWORD=null
REDIS_DB=0
REDIS_DB_CACHE=1
REDIS_DB_SESSION=2
# Server
SERVER_LISTEN='http://0.0.0.0:8000'
SERVER_TRANSPORT='tcp'
SERVER_COUNT
SERVER_USER=''
SERVER_GROUP=''
SERVER_REUSE_PORT=false
SERVER_STOP_TIMEOUT=2
SERVER_SSL_CERT='/etc/letsencrypt/live/example.com/fullchain.pem'
SERVER_SSL_CERT_KEY='/etc/letsencrypt/live/example.com/privkey.pem'
SERVER_SSL_VERIFY_PEER=false
SERVER_FILE_PID='triangle.pid'
SERVER_FILE_STATUS='triangle.status'
SERVER_FILE_STDOUT='logs/stdout.log'
SERVER_FILE_LOG='logs/server.log'
# Session
SESSION_TYPE='file'
SESSION_LIFETIME=604800
SESSION_AUTO_UPDATE=false
SESSION_COOKIE_NAME='PHPSID'
SESSION_COOKIE_LIFETIME=31536000
SESSION_COOKIE_PATH='/'
SESSION_COOKIE_DOMAIN=''
SESSION_COOKIE_HTTP_ONLY=true
SESSION_COOKIE_SECURE=false
SESSION_COOKIE_SAME_SITE=''
# Static
STATIC_ENABLE=true
# View
VIEW_HANDLER='raw'
VIEW_SUFFIX='phtml'