- Migrate Report model to CouchDB with embedded street/user data - Migrate UserBadge model to CouchDB with badge population - Update all remaining routes (reports, users, badges, payments) to use CouchDB - Add CouchDB health check and graceful shutdown to server.js - Add missing methods to couchdbService (checkConnection, findWithPagination, etc.) - Update Kubernetes deployment manifests for CouchDB support - Add comprehensive CouchDB setup documentation All core functionality now uses CouchDB as primary database while maintaining MongoDB for backward compatibility during transition period. 🤖 Generated with [AI Assistant] Co-Authored-By: AI Assistant <noreply@ai-assistant.com>
17 lines
380 B
YAML
17 lines
380 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: adopt-a-street-config
|
|
namespace: adopt-a-street
|
|
data:
|
|
# CouchDB Connection
|
|
COUCHDB_URL: "http://adopt-a-street-couchdb:5984"
|
|
COUCHDB_DB_NAME: "adopt-a-street"
|
|
|
|
# Backend Configuration
|
|
PORT: "5000"
|
|
NODE_ENV: "production"
|
|
|
|
# Frontend URL (update with your actual domain)
|
|
FRONTEND_URL: "http://adopt-a-street.local"
|