Define container startup order; add healthchecks #3

Open
opened 2021-12-06 13:24:17 +00:00 by 3wordchant · 1 comment
Owner

We can tell docker how to know when the containers are ready using a healthcheck.

Then, we can tell it which order the containers need to start in.

This could avoid potentially-confusing errors if e.g. if the php service is trying to connect the db before it's ready.

We can tell docker how to know when the containers are ready using [a healthcheck](https://docs.docker.com/engine/reference/builder/#healthcheck). Then, we can tell it which order the containers need to start in. This could avoid potentially-confusing errors if e.g. if the php service is trying to connect the db before it's ready.
3wordchant added the
enhancement
label 2021-12-08 08:49:44 +00:00
Author
Owner
https://hub.docker.com/r/9gag/fpm-health-check/#! https://github.com/renatomefi/php-fpm-healthcheck
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: autonomic-cooperative/wordpress-bedrock-template#3
No description provided.