-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
.env.example
183 lines (157 loc) · 4.58 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# Laravel Config
APP_NAME=Minetrax
APP_ENV=local
APP_KEY=
#Set your websuite language by default
APP_LOCALE=en
# If you dont want a locale switcher to appear just make it empty. (transaltions are accepted on our github)
AVAILABLE_LOCALES=en,es,ru,sk,de,pl,uk,hi,it,zh-hk,zh-cn,ja
APP_THEME=default
# Pulse dashboard for health monitoring
PULSE_ENABLED=false
# Dont enable on production
APP_DEBUG=false
DEBUGBAR_ENABLED=false
TELESCOPE_ENABLED=false
# Set your website url if incorrect(Please dont put / on the end like .com/)
APP_URL=http://localhost
# Database,redis,smtp etc config is moved at last inorder to prevent accential leak during screenshare
# Laravel Drivers
CACHE_DRIVER=redis
QUEUE_CONNECTION=redis
SESSION_DRIVER=database
SESSION_LIFETIME=120
IMAGE_CACHE_DRIVER=file
# Log Options
LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
LOG_DISCORD_WEBHOOK_URL=
# User Settings
RANDOM_USER_AVATARS=true
DISABLE_USER_REGISTRATION=false
DISABLE_EMAIL_PASSWORD_AUTH=false
VERIFY_USER_EMAIL=false
ENFORCE_2FA_FOR_STAFF=false
# User Experience
PLAYER_SKIN_CHANGER_ENABLED=true
PLAYER_SKIN_CHANGER_COOLDOWN_IN_SECONDS=60
HIDE_COUNTRY_FOR_PRIVACY=false
HIDE_PLAYER_NEXT_RANK=false
MAX_USER_PROFILE_PHOTO_SIZE_KB=512
MAX_USER_COVER_PHOTO_SIZE_KB=1024
MAX_POST_FEED_MEDIA_SIZE_KB=1024
COOKIE_CONSENT_ENABLED=true
# Please read this(https://minetrax.github.io/docs/web/askdb-ai-bot)
ASKDB_ENABLED=false
OPENAI_API_KEY=
# Social Auth
ALLOW_ANY_PROVIDER_SOCIAL_AUTH=true
GITHUB_OAUTH_ENABLED=false
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_AUTH_REDIRECT="${APP_URL}/auth/callback/github"
GOOGLE_OAUTH_ENABLED=false
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_AUTH_REDIRECT="${APP_URL}/auth/callback/google"
FACEBOOK_OAUTH_ENABLED=false
FACEBOOK_CLIENT_ID=
FACEBOOK_CLIENT_SECRET=
FACEBOOK_AUTH_REDIRECT="${APP_URL}/auth/facebook/callback"
TWITTER_OAUTH_ENABLED=false
TWITTER_CLIENT_ID=
TWITTER_CLIENT_SECRET=
TWITTER_AUTH_REDIRECT="${APP_URL}/auth/twitter/callback"
DISCORD_OAUTH_ENABLED=false
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
DISCORD_REDIRECT_URI="${APP_URL}/auth/discord/callback"
DISCORD_BOT_TOKEN=
# Backup Config(Please read docs https://minetrax.github.io/docs/web/backup)
BACKUP_ENABLED=true
BACKUP_APP_NAME="${APP_NAME}-backup"
BACKUP_DISK=local
BACKUP_ARCHIVE_PASSWORD=null
BACKUP_NOTIFICATION_EMAIL=
# Storage & Cloud Backup(works with cloudflare r2 or s3)
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_PRIVATE_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false
# Cloud Backup(SFTP OR FTP)
SFTP_DISK_HOST=
SFTP_DISK_USERNAME=
SFTP_DISK_PASSWORD=
SFTP_DISK_PORT=22
# Proxy Related Config(Only set to false if you want the web to ping using yourdomain.com)
PING_PROXY_SERVER_USING_IP_ADDRESS=true
QUERY_PROXY_SERVER_USING_IP_ADDRESS=true
# Minetrax credit(Not recommended to remove if you want to support minetrax development)
SHOW_POWERED_BY=true
SHOW_HOME_BUTTON=false
POWERED_BY_EXTRA_NAME=
POWERED_BY_EXTRA_LINK=
# WebSocket Option(https://minetrax.github.io/docs/web/websocket-options)
BROADCAST_DRIVER=null
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1
PUSHER_HOST=
PUSHER_PORT=443
PUSHER_SCHEME=https
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
VITE_PUSHER_HOST="${PUSHER_HOST}"
VITE_PUSHER_PORT="${PUSHER_PORT}"
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
# Dont touch unless you know what you are doing
GEOLOCATION_DRIVER=maxmind_database
MAXMIND_USER_ID=
MAXMIND_LICENSE_KEY=
RATELIMIT_API_PER_MINUTE=600
MARK_USER_VERIFYED_ON_ACCOUNT_LINK=true
DISABLE_PLAYER_UNLINKING=false
USE_USERNAME_FOR_SKINS=false
FETCH_AVATAR_FROM_URL_USING_CURL=false
PLAYER_FETCHER_CRON_INTERVAL=everyThirtyMinutes
FILESYSTEM_DISK=local
MEDIA_DISK=media
PROFILE_PHOTO_DISK=public
DOWNLOADS_MODULE_DISK=download
SETTINGS_CACHE_ENABLED=false
# Database Info
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=minetrax
DB_USERNAME=minetrax
DB_PASSWORD=password
MEMCACHED_HOST=127.0.0.1
# Redis Info
REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
# SMTP Info
MAIL_MAILER=sendmail
MAIL_HOST=localhost
MAIL_PORT=25
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=no-reply@minetrax.github.io
MAIL_FROM_NAME="${APP_NAME}"
# BanWarden
BANWARDEN_ENABLED=true
BANWARDEN_AI_INSIGHTS_ENABLED=true
BANWARDEN_SHOW_PUBLIC=true
BANWARDEN_SHOW_MASKED_IP_PUBLIC=false
BANWARDEN_MODULE_DISK=private
BANWARDEN_EVIDENCE_MAX_COUNT=2
BANWARDEN_EVIDENCE_ALLOWED_MIMETYPES=jpg,png,gif,bmp,webp,mp4,avi,mov,mkv,webm,zip,rar
BANWARDEN_EVIDENCE_MAX_SIZE_KB=51200
BANWARDEN_ALLOW_CONTROL_FROM_WEB=true