From dec6bc4dd9d11167e02d46a85ec719ffff2de0bb Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 3 May 2020 12:39:32 +0200 Subject: [PATCH] Add note out wait-for-it [ci skip] --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index a4060f9..9a12fd8 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,13 @@ Then visit the new Wordpress site. > http://localhost:8010 +On the first run, you'll have to wait some seconds for the database to +initialise before running through the initial installation. We don't make use +of something like [wait-for-it](https://github.com/vishnubob/wait-for-it) +because the `depends_on` stanza makes Docker swarm wait for it to come up on +the production deploy. So, we can just avoid doing this altogether for the +development workflow to save ourselves work. + ## Production 1. Our [drone.autonomic.zone](https://drone.autonomic.zone/autonomic-cooperative/wordpress/) configuration automatically deploys.