Skip to content

Commit

Permalink
Merge pull request #1 from SalemAttia/add-mongo-db
Browse files Browse the repository at this point in the history
Adding Mongo db
  • Loading branch information
SalemAttia authored May 23, 2021
2 parents 919d978 + a713200 commit dcb8ebd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ services:
ipv4_address: 172.28.0.10
aliases:
- devdb.local

mongoDB:
image: 'mongo:3.4'
ports:
- '27017:27016'
networks:
dev-app-network:
ipv4_address: 172.28.0.15
aliases:
- mongodevdb.local
logging:
driver: 'none'

redis:
container_name: redis
Expand Down Expand Up @@ -88,4 +100,4 @@ networks:
ipam:
driver: default
config:
- subnet: 172.28.0.0/16
- subnet: 172.28.0.0/16
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Add the following lines to you /etc/hosts file
172.28.0.110 sonarqube.local
172.28.0.111 sftp.local
172.28.0.13 devdbpostgress.local
172.28.0.15 mongodevdb.local
#END_MARKER
```

Expand All @@ -34,4 +35,5 @@ sonarqube will be avalible on http://sonarqube.local:9000/
- sonarqube cmd: docker-compose up sonarqube
- sftp cmd: docker-compose up sftp
- devdbpostgress cmd: docker-compose up devdbpostgress
- mongoDB cmd: docker-compose up mongoDB

0 comments on commit dcb8ebd

Please sign in to comment.