- 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>
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: adopt-a-street-secrets
|
|
namespace: adopt-a-street
|
|
type: Opaque
|
|
stringData:
|
|
# JWT Secret - CHANGE THIS IN PRODUCTION!
|
|
JWT_SECRET: "your-super-secret-jwt-key-change-in-production"
|
|
|
|
# CouchDB Configuration
|
|
COUCHDB_USER: "admin" # Change this in production
|
|
COUCHDB_PASSWORD: "admin" # Change this in production
|
|
COUCHDB_SECRET: "some-random-secret-string" # Change this in production
|
|
|
|
# Cloudinary Configuration
|
|
CLOUDINARY_CLOUD_NAME: "your-cloudinary-cloud-name"
|
|
CLOUDINARY_API_KEY: "your-cloudinary-api-key"
|
|
CLOUDINARY_API_SECRET: "your-cloudinary-api-secret"
|
|
|
|
# Stripe Configuration (optional - currently mocked)
|
|
# STRIPE_SECRET_KEY: "your-stripe-secret-key"
|
|
|
|
# OpenAI Configuration (optional - for AI features)
|
|
# OPENAI_API_KEY: "your-openai-api-key"
|
|
|
|
---
|
|
# IMPORTANT:
|
|
# 1. Copy this file to secrets.yaml
|
|
# 2. Replace all placeholder values with real secrets
|
|
# 3. DO NOT commit secrets.yaml to version control
|
|
# 4. Add secrets.yaml to .gitignore
|
|
# 5. Generate strong passwords for CouchDB using: openssl rand -base64 32
|