-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
61 lines (51 loc) · 1.79 KB
/
.env.example
File metadata and controls
61 lines (51 loc) · 1.79 KB
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
# Copy to `.env` and adjust (especially `APP_KEY`). All supported keys are listed here.
APP_NAME=Vortex
# Secret for Vortex\Crypto\Crypt (HMAC / keyed hashing). Generate: php -r "echo 'base64:'.base64_encode(random_bytes(32)), PHP_EOL;"
APP_KEY=
# 1 = show exception details in HTML/JSON error responses and log traces
APP_DEBUG=0
# Production: set to your public site URL (doctor --production rejects localhost)
APP_URL=http://localhost
# i18n: default locale, fallback, comma-separated supported (lang files: lang/{code}.php)
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_LOCALES=en,bg
# Comma-separated IPs of proxies that may set X-Forwarded-* (or * only if PHP is never exposed directly)
TRUSTED_PROXIES=
# Optional Content-Security-Policy value (empty = header omitted)
CSP_HEADER=
# Session cookie (set SESSION_SECURE=1 behind HTTPS)
SESSION_STORE=native
SESSION_NAME=vortex_session
SESSION_LIFETIME=7200
SESSION_SECURE=0
SESSION_SAMESITE=Lax
# Max avatar (and future public uploads) size in bytes (default 2097152 = 2 MB)
UPLOAD_MAX_BYTES=2097152
# Default Storage:: disk (config/storage.php): local | public | null
STORAGE_DISK=local
# Default cache store name (config/cache.php stores): file | null (falls back to CACHE_DRIVER)
CACHE_STORE=file
# Legacy single-driver hint; used as default store name when CACHE_STORE is unset
CACHE_DRIVER=file
# CACHE_PATH=
# CACHE_PREFIX=vortex:
# log | null | native | smtp (TLS needs ext-openssl)
MAIL_DRIVER=log
MAIL_FROM_ADDRESS=hello@example.com
MAIL_FROM_NAME=App
# MAIL_HOST=127.0.0.1
# MAIL_PORT=587
# MAIL_USERNAME=
# MAIL_PASSWORD=
# MAIL_ENCRYPTION=tls
# Default connection name (config/database.php connections): default
DB_CONNECTION=default
DB_DRIVER=sqlite
DB_DATABASE=
# For mysql/pgsql:
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=app
# DB_USERNAME=
# DB_PASSWORD=