Skip to content

Commit

Permalink
Add docker-compose.dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 committed May 20, 2023
1 parent b03ff8c commit 1615b0f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,16 @@ docker compose -f docker-compose.test.yml up --exit-code-from app
```

Note: This will create a /coverage folder where you can review the coverage details.

### Development Environment

You can run all the integration services using the following command:

```bash
docker compose -f docker-compose.dev.yml up
```

#### Supported Services

- MongoDB
- Redis
14 changes: 14 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: "3.9"

services:
redis:
image: "redis:alpine"
ports:
- 6379:6379
mongo:
image: "mongo"
ports:
- 27017:27017
environment:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=pass

0 comments on commit 1615b0f

Please sign in to comment.