chore: sync all local changes and new files

- 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)
This commit is contained in:
FalahMobile
2026-07-02 20:01:48 +08:00
parent 2e66def057
commit 61baf3ac5d
25 changed files with 2456 additions and 2 deletions
+83
View File
@@ -0,0 +1,83 @@
# 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