Skip to content

Commit

Permalink
Dev (#49)
Browse files Browse the repository at this point in the history
* Update issue templates (#42)

* chore(dev): release 1.0.0

* style(read-me): latest tag

* chore(master): release 1.0.0 (#41)

* chore(master): release 1.0.0

* style: rm changelog dupes

* Update issue templates

* Mongodb (#45)

* chore: mongoose, nestjs/mongoose

* feat: mongoose config and schemas

* fix: schema types and validators

* cd: mongo compose and init config

* cd: coimpose columes

* refactor(gitignore): env etc.

* refactor: issue templates

* feat: mongo and phrases

* feat: wip - new interactive command

* feat: new commands

* style: version tag

* ci(docker-compose): add network

---------

Co-authored-by: lulu12329 <[email protected]>
  • Loading branch information
sanriodev and lulu12329 authored Feb 16, 2024
1 parent bcb6800 commit 31ceff2
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ services:
ports:
- 3000:3000
restart: unless-stopped
networks:
- mongo

mongo:
image: mongo:6.0.3
Expand All @@ -24,18 +26,24 @@ services:
command:
- --config
- /etc/mongo/mongo.conf
ports:
- 27017:27017
expose:
- 27017
healthcheck:
test:
[
'CMD',
'sh',
'-c',
'echo ''db.runCommand("ping").ok'' | mongosh localhost:27017 --quiet',
'echo ''db.runCommand("ping").ok'' | mongosh localhost:27017 --quiet'
]
interval: 10s
timeout: 10s
retries: 5
start_period: 40s
restart: unless-stopped
networks:
- mongo

networks:
mongo:
name: mongo

0 comments on commit 31ceff2

Please sign in to comment.