We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 744e483 commit e49b80aCopy full SHA for e49b80a
1 file changed
docker-compose.yml
@@ -1,6 +1,6 @@
1
services:
2
mongodb:
3
- image: mongo:latest
+ image: mongo:8.0.9
4
container_name: hypixel_mongo
5
environment:
6
MONGO_INITDB_DATABASE: Minestom # Default database name
@@ -14,7 +14,8 @@ services:
14
networks:
15
- hypixel_network
16
healthcheck:
17
- test: ["CMD", "pgrep", "mongod"]
+ test: |
18
+ mongosh --eval "db.adminCommand('ping').ok" --quiet > /dev/null 2>&1 || exit 1
19
interval: 10s
20
timeout: 5s
21
retries: 5
0 commit comments