-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
49 lines (40 loc) · 1.29 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
# Application configuration
APP_HOST=localhost
APP_PORT=8080
APP_ENV=development
APP_DEBUG=true
# Representative lookup base URL
REPRESENTATIVE_LOOKUP_BASE_URL=https://represent.opennorth.ca
# Application secret for session management
# Generate a secure random string:
SESSION_SECRET=your_session_secret_here # $ openssl rand -base64 32
SESSION_NAME=mpe
# Database configuration
# Generate a secure password:
DB_ROOT_PASSWORD=your_root_password_here # $ openssl rand -base64 24
DB_NAME=db
DB_USER=db
DB_PASSWORD=your_db_password_here # $ openssl rand -base64 24
DB_HOST=db
DB_PORT=3306
# Migrations configuration
MIGRATIONS_PATH=./database/migrations
# Logging configuration
# Available levels: debug, info, warn, error, fatal, panic
LOG_LEVEL=debug
LOG_FILE=./storage/logs/mp-emailer.log
# JWT configuration
JWT_EXPIRY=60m
JWT_SECRET=your_jwt_secret_here # $ openssl rand -base64 32
# Mail configuration
EMAIL_PROVIDER=smtp # Options: smtp, mailgun
# SMTP configuration (for development with Mailpit)
EMAIL_SMTP_HOST=mailpit
EMAIL_SMTP_PORT=1025
EMAIL_SMTP_PASSWORD=password
EMAIL_SMTP_FROM_NAME="Test User"
# Mailgun configuration (if EMAIL_PROVIDER=mailgun)
MAILGUN_API_KEY=your_mailgun_api_key_here
MAILGUN_DOMAIN=your_mailgun_domain_here