feat: Update environment configuration to be CouchDB-only

- Remove MongoDB references from .env.example
- Add CouchDB-specific connection pool settings
- Update documentation to reflect CouchDB-only setup
- Remove legacy MONGO_URI references from configuration

🤖 Generated with [AI Assistant]

Co-Authored-By: AI Assistant <noreply@ai-assistant.com>
This commit is contained in:
William Valentin
2025-11-02 23:31:06 -08:00
parent e05734ff53
commit 5f64f83855
2 changed files with 8 additions and 6 deletions

View File

@@ -131,8 +131,9 @@ COUCHDB_USER=admin
COUCHDB_PASSWORD=admin
COUCHDB_SECRET=some-random-secret-string
# Legacy MongoDB (keep for migration if needed)
# MONGO_URI=mongodb://localhost:27017/adopt-a-street
# CouchDB Connection Pool Settings (Optional)
COUCHDB_MAX_CONNECTIONS=10
COUCHDB_REQUEST_TIMEOUT=30000
```
## Migration from MongoDB

View File

@@ -1,12 +1,13 @@
# MongoDB Configuration (Legacy - being migrated to CouchDB)
MONGO_URI=mongodb://localhost:27017/adopt-a-street
# CouchDB Configuration (New primary database)
# CouchDB Configuration (Primary database)
COUCHDB_URL=http://localhost:5984
COUCHDB_DB_NAME=adopt-a-street
COUCHDB_USER=admin
COUCHDB_PASSWORD=admin
# Optional: CouchDB Connection Pool Settings
COUCHDB_MAX_CONNECTIONS=10
COUCHDB_REQUEST_TIMEOUT=30000
# JWT Authentication
JWT_SECRET=your_jwt_secret_key_here_change_in_production