edit healthcheck interval

This commit is contained in:
Mario
2022-05-19 23:55:38 +02:00
parent daf251191a
commit 4a18e93016

View File

@ -19,7 +19,7 @@ services:
restart: always restart: always
healthcheck: healthcheck:
test: echo 'db.runCommand("ping").ok' | mongo mongo:27017/test --quiet test: echo 'db.runCommand("ping").ok' | mongo mongo:27017/test --quiet
interval: 30s interval: 10s
timeout: 10s timeout: 10s
retries: 5 retries: 5
environment: environment:
@ -35,4 +35,4 @@ services:
environment: environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example ME_CONFIG_MONGODB_ADMINPASSWORD: example
ME_CONFIG_MONGODB_URL: mongodb://root:example@mongo:27017/ ME_CONFIG_MONGODB_URL: mongodb://root:example@mongo:27017/