Define container startup order; add healthchecks #3
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: autonomic-cooperative/wordpress-bedrock-template#3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
https://hub.docker.com/r/9gag/fpm-health-check/#!
https://github.com/renatomefi/php-fpm-healthcheck