-
-
Notifications
You must be signed in to change notification settings - Fork 106
/
.env.example
101 lines (80 loc) · 2.88 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
APP_NAME=NOJ # App Name
APP_DISPLAY_NAME="NJUPT Online Judge" # Display Name
APP_ENV=local # Current Environment Name
APP_KEY=base64:6KvSj1hj/VJCNXnHECU16OVbcHk7h20O5TbsyOz5WuA= # App Key
APP_DEBUG=true # Debug Mode
APP_URL=http://ojsystem.com # APP URL
APP_MULTI_DOMAIN=true # Multi Domain Mode, Automatic match APP_URL, note that you still need to set APP_URL for console command proper running
APP_LOCALE=en # APP Locale, use zh-CN for simplified chinese
APP_BACKUP=false #Enable Scheduling Backup
APP_THEME="default" # choose from https://njuptaaa.github.io/docs/#/noj/guide/theme
APP_DEFAULT_EDITOR_THEME="material-design-darker" # Set to "vs-dark" if you want classic appearance
APP_ALLOW_OAUTH_TEMP_ACCOUNT=false
APP_OFFICIAL_SENDER=1 # official message sender uid
# Enable the following envs if you want to alter logo and desc
# APP_LOGO="/favicon.png" # URL for site logo
# APP_NAVICON="/static/img/icon/icon-white.png" # URL for site nav logo
# APP_FAVICON="/favicon.png" # URL for site favicon, must be png
# APP_DESC=
ADMIN_HTTPS=false
ADMIN_ENABLE_RECAPTCHAV2=false
ADMIN_RECAPTCHAV2_STYLE="display" # or invisible
ADMIN_RECAPTCHAV2_SITEKEY=
ADMIN_RECAPTCHAV2_SECRET=
ADMIN_RECAPTCHAV2_DOMAIN="https://recaptcha.net" # or https://www.google.com (unavailable in china)
ADMIN_RECAPTCHAV2_TIMEOUT=30
TRUSTED_PROXIES=null # can be null, "*", "192.168.100.1" or if multiple, "192.168.100.1,192.168.100.2,10.0.0.0/8"
FUNC_ENABLE_REGISTER=true
FUNC_STRONG_PASSWORD=false
PAGINATION_PROBLEM_PER_PAGE=20
BABEL_MIRROR=https://acm.njupt.edu.cn/babel # The mirror of babel marketplace, you can also use github public mirror at https://njuptaaa.github.io/babel
SESSION_DOMAIN=.ojsystem.com # set null if multi-domain or http 419
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=codemaster
DB_USERNAME=
DB_PASSWORD=
BROADCAST_DRIVER=log
CACHE_DRIVER=redis
QUEUE_CONNECTION=database
SESSION_DRIVER=redis
SESSION_LIFETIME=120
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
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}"
GOOGLE_SITE_VERIFICATION=""
BAIDU_SITE_VERIFICATION=""
GOOGLE_ANALYTICS=""
GITHUB_ENABLE=false
GITHUB_KEY=
GITHUB_SECRET=
GITHUB_CALLBACK_URL= # should be like http://www.your-noj-website.com/oauth/github/callback
AAUTH_ENABLE=false
AAUTH_KEY=
AAUTH_SECRET=
AAUTH_CALLBACK_URL= # should be like http://www.your-noj-website.com/oauth/aauth/callback
CONTACT_EMAIL="noj@njupt.edu.cn"
CONTACT_QQ="Group 668108264"
CONTACT_TEL=
TERM_SUBJECT_FULL_NAME="NJUPT Online Judge"
TERM_SUBJECT_NAME="NOJ"
TERM_STREET="9 Wenyuan Road"
TERM_CITY="Nanjing"
TERM_PROVINCE="Jiangsu"
TERM_STATE="China"
TERM_ZIP="221000"
TERM_CONTACT_EMAIL="noj@njupt.edu.cn"