61baf3ac5d
- Update next.config.ts - Add netlify.toml, Docker configs, e2e tests - Add env templates, docs (README, ROADMAP, TODO) - Add vitest/playwright test configs - Add component and lib tests - Add install script, portainer env template - Update .gitignore (tsbuildinfo, deno.lock, dev.db)
83 lines
3.2 KiB
Bash
83 lines
3.2 KiB
Bash
# Falah OS v1.3 Production Environment Template
|
|
# Copy this to .env and fill in the values
|
|
|
|
# =============================================================================
|
|
# CORE CONFIGURATION
|
|
# =============================================================================
|
|
NODE_ENV=production
|
|
DOMAIN=falah-os.com
|
|
PROTOCOL=https
|
|
|
|
# =============================================================================
|
|
# SECURITY - GENERATE WITH: openssl rand -base64 32
|
|
# =============================================================================
|
|
JWT_SECRET=CHANGE_ME_generate_secure_random_string
|
|
ENCRYPTION_KEY=CHANGE_ME_generate_secure_random_string
|
|
ADMIN_SECRET=CHANGE_ME_generate_secure_random_string
|
|
|
|
# =============================================================================
|
|
# DATABASE - UPDATE credentials for production
|
|
# =============================================================================
|
|
POSTGRES_HOST=postgres-primary
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=CHANGE_ME_strong_password
|
|
POSTGRES_DB=falahdb
|
|
|
|
# =============================================================================
|
|
# REDIS - UPDATE password for production
|
|
# =============================================================================
|
|
REDIS_HOST=redis-master
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=CHANGE_ME_strong_password
|
|
|
|
# =============================================================================
|
|
# SERVICE URLs (Internal)
|
|
# =============================================================================
|
|
UMMAHID_URL=http://ummahid:3000
|
|
WALLET_URL=http://wallet:3000
|
|
RAMZ_URL=http://ramz:3000
|
|
MOCKNET_URL=http://mocknet:3000
|
|
|
|
# =============================================================================
|
|
# WALLET SERVICE
|
|
# =============================================================================
|
|
PROTOCOL_FEE_PERCENT=1.5
|
|
|
|
# =============================================================================
|
|
# RAMZ CONTRACT ENGINE
|
|
# =============================================================================
|
|
SHARIAH_RULES=NO_RIBA,NO_GHARAR,NO_MAYSIR,HALAL_COMMODITY,ASSET_BACKED,MUTUAL_CONSENT,NO_BAI_INAH
|
|
|
|
# =============================================================================
|
|
# BACKUP CONFIGURATION
|
|
# =============================================================================
|
|
BACKUP_DIR=/backups
|
|
S3_BUCKET=falah-os-backups
|
|
RETENTION_DAYS=30
|
|
|
|
# =============================================================================
|
|
# MONITORING
|
|
# =============================================================================
|
|
GRAFANA_PASSWORD=CHANGE_ME_strong_password
|
|
ALERT_EMAIL=alerts@falah-os.com
|
|
SLACK_WEBHOOK_URL=
|
|
|
|
# =============================================================================
|
|
# CDN & EXTERNAL SERVICES
|
|
# =============================================================================
|
|
CDN_API_KEY=
|
|
CDN_ZONE_ID=
|
|
|
|
# =============================================================================
|
|
# LOGGING
|
|
# =============================================================================
|
|
LOG_LEVEL=info
|
|
LOG_FORMAT=json
|
|
|
|
# =============================================================================
|
|
# FEATURE FLAGS
|
|
# =============================================================================
|
|
ENABLE_MOCKNET=false
|
|
ENABLE_CHAOS_TESTING=false
|
|
ENABLE_DEBUG=false |