Closed make-github-pseudonymous-again closed 4 months ago
Already implemented for ci:build:compose in #880.
ci:build:compose
See https://docs.docker.com/engine/reference/run/#healthchecks for documentation.
Not that there does not seem to be a way to set this up on startup via /docker-entrypoint-initdb.d/, see https://github.com/docker-library/mongo/issues/339.
/docker-entrypoint-initdb.d/
See also https://github.com/docker-library/mongo/issues/246#issuecomment-382072843.
Note that replica-set setup logic was initially derived from
https://github.com/zodern/meteor-up/blob/2272e108dc2c1b227398b175e81dc4b8772e1745/src/plugins/mongo/assets/templates/start.sh#L47.
Might be impossible, due to
Let's see.
Note that we cannot use --health-start-interval today. See:
--health-start-interval
Already implemented for
ci:build:compose
in #880.See https://docs.docker.com/engine/reference/run/#healthchecks for documentation.
Not that there does not seem to be a way to set this up on startup via
/docker-entrypoint-initdb.d/
, see https://github.com/docker-library/mongo/issues/339.See also https://github.com/docker-library/mongo/issues/246#issuecomment-382072843.