Skip to content

Commit

Permalink
Merge pull request #326 from telefonicaid/task/add_docker_compose_dev
Browse files Browse the repository at this point in the history
add docker-compose-dev
  • Loading branch information
fgalan authored Dec 11, 2023
2 parents 3e59791 + d699460 commit 706c69b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ In order to run the docker image, first you must have a MongoDB instance running
following command:

```console
docker run --name mongodb -d mongo
docker run -d -p 27017:27017 --hostname mongo --name mongo mongo:6.0.12
```

### Build your own Docker image
Expand Down
7 changes: 7 additions & 0 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: "3"

services:
mongo:
image: mongo:6.0.12
ports:
- "27017:27017"

0 comments on commit 706c69b

Please sign in to comment.