Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Installer: start Caddy with the server, not after it reports healthy

milind-sonieb5e42b54694
diff --git a/deploy/install.sh b/deploy/install.sh
index cb7361706f..846af274b3 100755
--- a/deploy/install.sh
+++ b/deploy/install.sh
@@ -672,9 +672,11 @@ services:
ports:
- "80:80"
- "443:443"
+ # Started with the server, not after it is healthy: Caddy reaches it over the socket
+ # whenever it answers, so `up` never waits on the server's health.
depends_on:
omb:
- condition: service_healthy
+ condition: service_started
environment:
DOMAIN: ${DOMAIN}
volumes: