You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Docker Compose configurations for CouchDB and MongoDB with supporting documentation and test script
- Introduced `docker-compose.couchdb.yml` and `docker-compose.mongodb.yml` for streamlined setup with database backends.
- Updated `README.md` with detailed instructions on using Docker Compose environments.
- Added `.env` template file and required environment variable configurations for security.
- Included a `test-docker-setups.sh` script for validating Docker Compose setups and running automated API tests.
- Updated `notes.Dockerfile` to add `wget` for health checks.
- Ensured robust health checks and service dependencies in both configurations.
Copy file name to clipboardExpand all lines: README.md
+104Lines changed: 104 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,110 @@ Stable work on lower versions is not guaranteed.
72
72
```
73
73
Adjust the values according to your environment. Set `DB_VENDOR` to either `couchdb` or `mongodb` to select the database vendor.
74
74
75
+
## Docker Compose Setup
76
+
77
+
The application includes separate Docker Compose configurations for easy deployment with different database backends. This is the recommended way to run the application locally for development and testing.
78
+
79
+
### Available Configurations
80
+
81
+
-**docker-compose.couchdb.yml**: Runs the application with CouchDB
82
+
-**docker-compose.mongodb.yml**: Runs the application with MongoDB
0 commit comments