We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d1f7a1 commit 2d34ff9Copy full SHA for 2d34ff9
1 file changed
docker/scripts/deploy.sh
@@ -26,6 +26,9 @@ $COMPOSE build --no-cache api indexer worker subgraph-processor workflow-runner
26
# Run migrations synchronously — fail fast on error
27
$COMPOSE run --rm migrate
28
29
+# Clean up stale one-off containers (from manual `docker compose run` without --rm)
30
+docker ps -a --filter "label=com.docker.compose.oneoff=True" -q | xargs -r docker rm -f 2>/dev/null || true
31
+
32
# Restart app services — NEVER touch stacks-node, postgres, hiro-postgres, hiro-api
33
# Remove orphaned containers from renamed services (view-processor → subgraph-processor)
34
docker rm -f secondlayer-view-processor-1 2>/dev/null || true
0 commit comments