Files
MoneyFlix/crm/config.env.example
T
1sonhador c2fecefa55 refactor: Remove BetZoo and WDMI references, standardize to MoneyFlix
- Replace "BetZoo CRM" with "MoneyFlix" in Advertising module description
- Replace "Betzoo" option with "MoneyFlix" in ErrorMonitoring project filter
- Update GoogleSheetsService to use environment variable for credentials path
- Update CDN config from betzoo.app to moneyflix.com
- Remove WDMI-specific checks in layouts (topbar, sidebar, main, public-blank)
- Update database profile examples from wdmi_importer to moneyflix_importer
- Keep BitReport references (company/product name)
2025-10-30 10:00:46 +00:00

102 lines
4.0 KiB
Bash

# BitReport CRM - Configuração de Ambiente
# Copia este ficheiro para .env e ajusta as configurações
# =============================================================================
# CONFIGURAÇÃO DA BASE DE DADOS
# =============================================================================
# Database Configuration
DB_HOST=localhost
DB_PORT=8889
DB_NAME=crm
DB_USER=root
DB_PASS=root
DB_CHARSET=utf8mb4
DB_SOCKET=/Applications/MAMP/tmp/mysql/mysql.sock
# Connection Profiles (New Array Format - Recommended)
# Format: DB_PROFILES[profile_name] = host:port:username:password:database:charset:socket
DB_PROFILES[default] = localhost:8889:root:root:crm:utf8mb4:/Applications/MAMP/tmp/mysql/mysql.sock
DB_PROFILES[importer] = localhost:8889:root:root:moneyflix_importer:utf8mb4:/Applications/MAMP/tmp/mysql/mysql.sock
DB_PROFILES[xpto] = remote.server.com:3306:user:pass:xpto_db:utf8mb4
# Legacy Format (Still Supported)
# DB_PROFILES=default:localhost:8889:root:root:crm:utf8mb4:/Applications/MAMP/tmp/mysql/mysql.sock,importer:localhost:8889:root:root:moneyflix_importer:utf8mb4:/Applications/MAMP/tmp/mysql/mysql.sock,xpto:remote.server.com:3306:user:pass:xpto_db:utf8mb4
# =============================================================================
# CONFIGURAÇÃO DA APLICAÇÃO
# =============================================================================
APP_NAME=BitReport CRM
APP_ENV=development
APP_DEBUG=true
APP_URL=http://localhost:8888
APP_TIMEZONE=Europe/Lisbon
APP_LOCALE=pt
# =============================================================================
# CONFIGURAÇÃO DE SEGURANÇA
# =============================================================================
APP_KEY=base64:your-secret-key-here
SESSION_DRIVER=file
SESSION_LIFETIME=120
# =============================================================================
# CONFIGURAÇÃO DE EMAIL
# =============================================================================
MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=[email protected]
MAIL_PASSWORD=your-app-password
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=[email protected]
MAIL_FROM_NAME="${APP_NAME}"
# =============================================================================
# CONFIGURAÇÃO DE LOGS
# =============================================================================
LOG_CHANNEL=stack
LOG_LEVEL=debug
# =============================================================================
# CONFIGURAÇÃO DE CACHE
# =============================================================================
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
# =============================================================================
# CONFIGURAÇÃO DE ARMAZENAMENTO
# =============================================================================
FILESYSTEM_DISK=local
STORAGE_PATH=/storage
# =============================================================================
# CONFIGURAÇÃO DE APIs EXTERNAS
# =============================================================================
# CoinMarketCap API para dados de criptomoedas
COINMARKETCAP_API_KEY=your-coinmarketcap-api-key-here
# Outras APIs (exemplos)
# GOOGLE_MAPS_API_KEY=your-google-maps-key
# STRIPE_API_KEY=your-stripe-key
# PAYPAL_CLIENT_ID=your-paypal-client-id
# =============================================================================
# CONFIGURAÇÃO DE DESENVOLVIMENTO
# =============================================================================
# Descomenta para ativar debug detalhado
# DEBUG_MODE=true
# Descomenta para mostrar erros SQL
# SQL_DEBUG=true
# =============================================================================
# CONFIGURAÇÃO DE PRODUÇÃO
# =============================================================================
# Para produção, altera estas configurações:
# APP_ENV=production
# APP_DEBUG=false
# APP_URL=https://your-domain.com
# DB_HOST=your-production-db-host
# DB_NAME=your-production-db-name
# DB_USER=your-production-db-user
# DB_PASS=your-production-db-password