- Add direct APNs client using sideshow/apns2 for iOS push - Add direct FCM client using legacy HTTP API for Android push - Remove Gorush dependency (no external push server needed) - Update all services/handlers to use new push.Client - Update config for APNS_PRODUCTION flag 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
# Server Settings
|
|
PORT=8000
|
|
DEBUG=true
|
|
ALLOWED_HOSTS=localhost,127.0.0.1
|
|
TIMEZONE=UTC
|
|
SECRET_KEY=your-secret-key-here-change-this-in-production
|
|
|
|
# Database Settings (PostgreSQL)
|
|
POSTGRES_DB=casera
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=change-this-secure-password
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_SSLMODE=disable
|
|
DB_MAX_OPEN_CONNS=25
|
|
DB_MAX_IDLE_CONNS=10
|
|
DB_MAX_LIFETIME=600s
|
|
|
|
# Redis Settings
|
|
REDIS_URL=redis://localhost:6379/0
|
|
REDIS_DB=0
|
|
|
|
# Email Settings (SMTP)
|
|
EMAIL_HOST=smtp.gmail.com
|
|
EMAIL_PORT=587
|
|
EMAIL_USE_TLS=true
|
|
EMAIL_HOST_USER=your-email@gmail.com
|
|
EMAIL_HOST_PASSWORD=your-app-password
|
|
DEFAULT_FROM_EMAIL=Casera <noreply@casera.com>
|
|
|
|
# APNs Settings (iOS Push Notifications)
|
|
# Direct APNs integration - no external push server needed
|
|
APNS_AUTH_KEY_PATH=/path/to/AuthKey_XXXXXX.p8
|
|
APNS_AUTH_KEY_ID=XXXXXXXXXX
|
|
APNS_TEAM_ID=XXXXXXXXXX
|
|
APNS_TOPIC=com.example.casera
|
|
APNS_PRODUCTION=false # Set to true for production APNs, false for sandbox
|
|
|
|
# FCM Settings (Android Push Notifications)
|
|
# Direct FCM integration using legacy HTTP API
|
|
FCM_SERVER_KEY=your-firebase-server-key
|
|
|
|
# Worker Settings (Background Jobs)
|
|
TASK_REMINDER_HOUR=20
|
|
TASK_REMINDER_MINUTE=0
|
|
OVERDUE_REMINDER_HOUR=9
|
|
DAILY_DIGEST_HOUR=11
|
|
|
|
# Admin Panel
|
|
ADMIN_PORT=9000
|
|
|
|
# Storage Settings (File Uploads)
|
|
STORAGE_UPLOAD_DIR=./uploads
|
|
STORAGE_BASE_URL=/uploads
|
|
STORAGE_MAX_FILE_SIZE=10485760
|
|
STORAGE_ALLOWED_TYPES=image/jpeg,image/png,image/gif,image/webp,application/pdf
|