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.
This commit is contained in:
Catherine
2025-09-18 17:28:22 +00:00
parent 2548effeb8
commit f99298d38b

View File

@@ -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.