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:
@@ -131,8 +131,9 @@ COUCHDB_USER=admin
|
|||||||
COUCHDB_PASSWORD=admin
|
COUCHDB_PASSWORD=admin
|
||||||
COUCHDB_SECRET=some-random-secret-string
|
COUCHDB_SECRET=some-random-secret-string
|
||||||
|
|
||||||
# Legacy MongoDB (keep for migration if needed)
|
# CouchDB Connection Pool Settings (Optional)
|
||||||
# MONGO_URI=mongodb://localhost:27017/adopt-a-street
|
COUCHDB_MAX_CONNECTIONS=10
|
||||||
|
COUCHDB_REQUEST_TIMEOUT=30000
|
||||||
```
|
```
|
||||||
|
|
||||||
## Migration from MongoDB
|
## Migration from MongoDB
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
# MongoDB Configuration (Legacy - being migrated to CouchDB)
|
# CouchDB Configuration (Primary database)
|
||||||
MONGO_URI=mongodb://localhost:27017/adopt-a-street
|
|
||||||
|
|
||||||
# CouchDB Configuration (New primary database)
|
|
||||||
COUCHDB_URL=http://localhost:5984
|
COUCHDB_URL=http://localhost:5984
|
||||||
COUCHDB_DB_NAME=adopt-a-street
|
COUCHDB_DB_NAME=adopt-a-street
|
||||||
COUCHDB_USER=admin
|
COUCHDB_USER=admin
|
||||||
COUCHDB_PASSWORD=admin
|
COUCHDB_PASSWORD=admin
|
||||||
|
|
||||||
|
# Optional: CouchDB Connection Pool Settings
|
||||||
|
COUCHDB_MAX_CONNECTIONS=10
|
||||||
|
COUCHDB_REQUEST_TIMEOUT=30000
|
||||||
|
|
||||||
# JWT Authentication
|
# JWT Authentication
|
||||||
JWT_SECRET=your_jwt_secret_key_here_change_in_production
|
JWT_SECRET=your_jwt_secret_key_here_change_in_production
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user