Skip to content

Commit

Permalink
build: add docker-compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
omermujtaba18 committed Aug 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent f503355 commit a1cc981
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: '3.1'

services:
mongo:
image: mongo:6.0
restart: always
ports:
- '27017:27017'
environment:
MONGO_INITDB_DATABASE: nest-api-starter
MONGO_INITDB_ROOT_USERNAME: docker
MONGO_INITDB_ROOT_PASSWORD: mongopw
volumes:
- mongo_data_db:/data/db

volumes:
mongo_data_db:

0 comments on commit a1cc981

Please sign in to comment.