forked from extern/docker
commit
77a2cab3fc
@ -95,6 +95,7 @@ services:
|
|||||||
mongodb:
|
mongodb:
|
||||||
image: mongo:4.4
|
image: mongo:4.4
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
test: bash -c "if mongo --eval 'quit(db.runCommand({ ping':' 1 }).ok ? 0 ':' 2)'; then exit 0; fi; exit 1;"
|
||||||
networks:
|
networks:
|
||||||
bbb-net:
|
bbb-net:
|
||||||
ipv4_address: 10.7.7.6
|
ipv4_address: 10.7.7.6
|
||||||
|
Loading…
Reference in New Issue
Block a user