update env example
This commit is contained in:
52
.env.example
Normal file
52
.env.example
Normal file
@@ -0,0 +1,52 @@
|
||||
# ===========================================
|
||||
# SISTEM DESA MANDIRI - ENVIRONMENT VARIABLES
|
||||
# ===========================================
|
||||
# Copy this file to .env and fill in the appropriate values
|
||||
|
||||
# ===========================================
|
||||
# DATABASE CONFIGURATION
|
||||
# ===========================================
|
||||
# PostgreSQL, MySQL, or SQLite connection string
|
||||
# Example (PostgreSQL): postgresql://user:password@localhost:5432/dbname
|
||||
# Example (MySQL): mysql://user:password@localhost:3306/dbname
|
||||
# Example (SQLite): file:./dev.db
|
||||
DATABASE_URL="your-database-url-here"
|
||||
|
||||
# ===========================================
|
||||
# FIREBASE ADMIN SDK (For FCM Push Notifications)
|
||||
# ===========================================
|
||||
# Google Cloud project ID
|
||||
GOOGLE_PROJECT_ID="your-google-project-id"
|
||||
|
||||
# Google service account client email
|
||||
GOOGLE_CLIENT_EMAIL="your-service-account-email@your-project.iam.gserviceaccount.com"
|
||||
|
||||
# Google service account private key (include the full key with newlines)
|
||||
GOOGLE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nYOUR_PRIVATE_KEY_HERE\n-----END PRIVATE KEY-----"
|
||||
|
||||
# Google service account private key ID (optional but recommended)
|
||||
GOOGLE_PRIVATE_KEY_ID="your-private-key-id"
|
||||
|
||||
# ===========================================
|
||||
# WEB PUSH NOTIFICATIONS (VAPID Keys)
|
||||
# ===========================================
|
||||
# VAPID public key (exposed to client-side, must start with NEXT_PUBLIC_)
|
||||
NEXT_PUBLIC_VAPID_PUBLIC_KEY="your-vapid-public-key"
|
||||
|
||||
# VAPID private key (keep secret, server-side only)
|
||||
VAPID_PRIVATE_KEY="your-vapid-private-key"
|
||||
|
||||
# ===========================================
|
||||
# FILE STORAGE / WEBSOCKET API
|
||||
# ===========================================
|
||||
# API key for file operations (upload, delete, copy, view directory)
|
||||
WS_APIKEY="your-websocket-api-key"
|
||||
|
||||
# ===========================================
|
||||
# APPLICATION SETTINGS
|
||||
# ===========================================
|
||||
# Next.js node environment (development, production, test)
|
||||
NODE_ENV="development"
|
||||
|
||||
# Application URL (optional, for reference)
|
||||
NEXT_PUBLIC_APP_URL="http://localhost:3000"
|
||||
Reference in New Issue
Block a user