HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux mail.btech-izolacje.pl 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
User: pewna6876 (1017)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //srv/rmgun_admin/admin-next/.env.example
# Firebase Configuration
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_project.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id

# Firebase Admin Configuration
FIREBASE_PROJECT_ID=your_project_id
FIREBASE_CLIENT_EMAIL=your_client_email
FIREBASE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nyour_private_key\n-----END PRIVATE KEY-----"

# Application Configuration
NEXT_PUBLIC_BASE_URL=http://localhost:3000
NODE_ENV=development

# Express Service Configuration
EXPRESS_PORT=4000
EXPRESS_NODE_ENV=development
SCHEDULER_ENABLED=true
SCHEDULER_TIMEZONE=Europe/Warsaw

# Email Configuration (for CSV export)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=your_email@gmail.com
SMTP_PASS=your_app_password
EMAIL_FROM="RMGun Range <noreply@rmgun.pl>"
# Recipients for weekly CSV export (separated by comma)
EMAIL_RECIPIENTS="admin1@example.com,admin2@example.com,admin3@example.com"

# RFID Scanner API Key
# Generate a secure random string for your RFID scanner authentication
# Example: openssl rand -hex 32
RFID_API_KEY=your_secure_api_key_here

# Example:
# RFID_API_KEY=a1b2c3d4e5f6789012345678901234567890abcdef123456789012345678901234

# RFID Firestore API Key
# This key is embedded in Firestore documents for write access to rfid_cards collection
# Generate a different secure random string: openssl rand -hex 32
NEXT_PUBLIC_FIRESTORE_RFID_API_KEY=your_firestore_rfid_api_key_here

# Example:
# NEXT_PUBLIC_FIRESTORE_RFID_API_KEY=f9e8d7c6b5a4321098765432109876543210fedcba9876543210fedcba987654