diff --git a/COUCHDB_SETUP.md b/COUCHDB_SETUP.md index 3d16bd8..8006b9d 100644 --- a/COUCHDB_SETUP.md +++ b/COUCHDB_SETUP.md @@ -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 diff --git a/backend/.env.example b/backend/.env.example index a922ad1..e4a342d 100644 --- a/backend/.env.example +++ b/backend/.env.example @@ -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