Sam Okafor Team Maple · 10:08 a.m. · #8
Hi! Can you paste the health check from your compose file?
Posted by Priya Nair, Team Aurora · Table 4 · 10:02 a.m.
The dashboard container starts, then restarts every few seconds on the VM.
Checked the logs and rebuilt the image.
This thread is visible to both teams and organizers.
Team Aurora posted this blocker · 10:02 a.m.
Team Maple is helping · 10:06 a.m.
Sam Okafor Team Maple · 10:08 a.m. · #8
Hi! Can you paste the health check from your compose file?
Priya Nair Team Aurora · 10:11 a.m. · #9
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 10s
retries: 3Tom Becker Team Aurora · 10:13 a.m. · #10
Our server listens on 3000 now. We changed it on Friday night.
Sam Okafor Team Maple · 10:15 a.m. · #11
That's it. The health check still calls port 8080, so it fails and Docker keeps restarting the container. Point it at 3000 and redeploy.
Sam Okafor Team Maple · 10:16 a.m. · #12
Meet at our table: Table 12.
Priya Nair Team Aurora · 10:39 a.m. · #13
Redeployed. It's been up for 20 minutes with no restarts.
Team Maple submitted an outcome · 10:41 a.m.
Team Aurora confirmed the fix · 10:48 a.m.
Submitted by Sam Okafor, Team Maple · 10:41 a.m.
Repaired the deployment configuration: the health check pointed at the wrong port, so the container kept being restarted.
- test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
+ test: ["CMD", "curl", "-f", "http://localhost:3000/health"]Confirmed by Team AuroraPriya Nair · 10:48 a.m.See Team Maple's receipt