From f99298d38bd9919d215b30b450108a95b396737c Mon Sep 17 00:00:00 2001 From: Catherine Date: Thu, 18 Sep 2025 17:28:22 +0000 Subject: [PATCH] Make Caddy startup dependent on git-pages. Fly.io starts routing requests to the VM the moment it becomes reachable (listens on its service ports) even if it is not ready yet. This causes transient failures on machine startup. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 8992d08..2cc30bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,6 +57,7 @@ autorestart = true command = git-pages [program:caddy] command = caddy run +depends_on = pages EOF # In a standalone configuration (the default) use port 3000 (http) to connect to git-caddy.