-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
117 lines (103 loc) · 4.5 KB
/
.env.example
File metadata and controls
117 lines (103 loc) · 4.5 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
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
# MTAV Production Environment Configuration
# =============================================================================
# Application Core
# =============================================================================
APP_NAME="MTAV"
APP_ENV=production
APP_KEY= # Generated via: php artisan key:generate
APP_PREVIOUS_KEYS= # Previous keys for decryption
APP_DEBUG=false
APP_TIMEZONE=UTC
APP_URL=http://www.mtav.uy # Your actual domain/IP
APP_PORT=8002 # Internal nginx exposed port
# =============================================================================
# Localization
# =============================================================================
APP_LOCALE=es_UY
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=es_ES
# =============================================================================
# Maintenance & Storage
# =============================================================================
APP_MAINTENANCE_DRIVER=file
APP_MAINTENANCE_STORE=database
BCRYPT_ROUNDS=12
# =============================================================================
# Logging
# =============================================================================
LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=error
# =============================================================================
# Database (MariaDB/MySQL)
# =============================================================================
DB_CONNECTION=mysql
DB_HOST=mysql # Container name
DB_PORT=3306
DB_DATABASE=mtav
DB_USERNAME=mtav
DB_PASSWORD=change-me-to-secure-password # Change this!
# =============================================================================
# Sessions
# =============================================================================
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
# =============================================================================
# Broadcasting & Filesystems
# =============================================================================
BROADCAST_CONNECTION=reverb
FILESYSTEM_DISK=local
# =============================================================================
# Queue Worker Configuration
# =============================================================================
QUEUE_CONNECTION=database
# =============================================================================
# Cache
# =============================================================================
CACHE_STORE=database
CACHE_PREFIX=
# =============================================================================
# Email Configuration (Gmail SMTP)
# =============================================================================
# Get Gmail app password: https://myaccount.google.com/apppasswords
# (Requires 2FA enabled)
MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_ENCRYPTION=tls
MAIL_USERNAME=your-email@gmail.com # Gmail address
MAIL_PASSWORD=your-16-char-app-password # App-specific password (NOT your Gmail password)
MAIL_FROM_ADDRESS=info@mtav.uy
MAIL_FROM_NAME="MTAV"
# =============================================================================
# Optional: Redis (if using Redis for cache/queue in future)
# =============================================================================
REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
# =============================================================================
# Reverb WebSocket Configuration
# =============================================================================
REVERB_APP_ID=mtav-app
REVERB_APP_KEY=mtav-key-production
REVERB_APP_SECRET=mtav-secret-production
REVERB_HOST=reverb # Docker service name
REVERB_PORT=8080
REVERB_SCHEME=http
VITE_REVERB_APP_KEY="${REVERB_APP_KEY}"
VITE_REVERB_HOST=localhost # Frontend connects to this (via nginx proxy)
VITE_REVERB_PORT="${REVERB_PORT}"
VITE_REVERB_SCHEME="${REVERB_SCHEME}"
# =============================================================================
# HTTPS Configuration (Docker)
# =============================================================================
# Nginx will listen on both HTTP (80) and HTTPS (443) when enabled
# Certificates are mounted from the host filesystem to the container
# Example: /etc/letsencrypt/live/mtav.uy/ (standard Let's Encrypt path)
ENABLE_HTTPS=true
CERT_PATH=/etc/letsencrypt/live/mtav.uy # Host path to certificates (must contain fullchain.pem and privkey.pem)