Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit 6ebf323

Browse files
bpamiriclaude
andcommitted
Disable health check and reduce to 1 replica for CockroachDB migration
Increase request timeout from 5s to 120s to allow cold-start DB migrations to complete, disable Docker health check temporarily, and reduce replicas to 1 to avoid migration race conditions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4275cee commit 6ebf323

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

.cfconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"requestTimeout": "0,0,5,0",
2+
"requestTimeout": "0,0,120,0",
33
"adminPassword": "${cfconfig_adminPassword}"
44
}

deploy/swarm/docker-compose.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
wheels-dev:
55
image: ghcr.io/wheels-dev/wheels-dev:latest
66
deploy:
7-
replicas: 3
7+
replicas: 1
88
restart_policy:
99
condition: on-failure
1010
update_config:
@@ -46,11 +46,7 @@ services:
4646
HEALTHCHECK_URI: "http://127.0.0.1:8888/"
4747
BOX_SERVER_JVM_ARGS: "-Xms2g -Xmx3g"
4848
healthcheck:
49-
test: ["CMD", "curl", "-f", "-m", "30", "http://127.0.0.1:8888/"]
50-
interval: 30s
51-
timeout: 35s
52-
retries: 5
53-
start_period: 300s
49+
disable: true
5450
networks:
5551
- proxy
5652
volumes:

0 commit comments

Comments
 (0)