mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-04 06:22:58 +00:00
Update docker-compose.yml
This commit is contained in:
parent
053d3e35ec
commit
a85e672eb9
@ -19,9 +19,9 @@ services:
|
|||||||
- ./data/db:/data/db
|
- ./data/db:/data/db
|
||||||
ports:
|
ports:
|
||||||
- 27017:27017
|
- 27017:27017
|
||||||
command: mongod --smallfiles --logpath=/dev/null --port 27017
|
command: mongod --logpath=/dev/null --port 27017
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: echo 'db.stats().ok' | mongo localhost:27017/mar --quiet
|
test: echo 'db.stats().ok' | mongo localhost:27017/mar --quiet
|
||||||
interval: 2s
|
interval: 2s
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
retries: 2
|
retries: 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user