From 0ed7e894016dfca088cbeffcf2230bbd308f43e5 Mon Sep 17 00:00:00 2001 From: Emi Griffith Date: Thu, 23 Jul 2026 03:34:25 -0700 Subject: [PATCH] stack: fix bind-mount paths for the monorepo host layout The cutover moved the host checkout's deploy tree to /opt/thermograph/infra/deploy/, but the stack file's absolute bind sources (db init, env-entrypoint.sh, autoscale.sh) still pointed at the old /opt/thermograph/deploy/ -- a service update kept the stale mounts and new tasks failed with 'bind source path does not exist'. --- infra/deploy/stack/thermograph-stack.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/infra/deploy/stack/thermograph-stack.yml b/infra/deploy/stack/thermograph-stack.yml index c8bdd51..b34f77b 100644 --- a/infra/deploy/stack/thermograph-stack.yml +++ b/infra/deploy/stack/thermograph-stack.yml @@ -44,7 +44,7 @@ services: DB_MEMORY: ${DB_MEMORY:-16g} volumes: - pgdata:/var/lib/postgresql - - /opt/thermograph/deploy/db/init:/docker-entrypoint-initdb.d:ro + - /opt/thermograph/infra/deploy/db/init:/docker-entrypoint-initdb.d:ro networks: - internal healthcheck: @@ -85,7 +85,7 @@ services: volumes: - appdata:/state - applogs:/app/logs - - /opt/thermograph/deploy/stack/env-entrypoint.sh:/host/env-entrypoint.sh:ro + - /opt/thermograph/infra/deploy/stack/env-entrypoint.sh:/host/env-entrypoint.sh:ro - /etc/thermograph/stack.env:/host/thermograph.env:ro networks: - internal @@ -124,7 +124,7 @@ services: volumes: - appdata:/state - applogs:/app/logs - - /opt/thermograph/deploy/stack/env-entrypoint.sh:/host/env-entrypoint.sh:ro + - /opt/thermograph/infra/deploy/stack/env-entrypoint.sh:/host/env-entrypoint.sh:ro - /etc/thermograph/stack.env:/host/thermograph.env:ro networks: - internal @@ -147,7 +147,7 @@ services: THERMOGRAPH_SERVICE_ROLE: frontend THERMOGRAPH_API_BASE_INTERNAL: http://web:8137 volumes: - - /opt/thermograph/deploy/stack/env-entrypoint.sh:/host/env-entrypoint.sh:ro + - /opt/thermograph/infra/deploy/stack/env-entrypoint.sh:/host/env-entrypoint.sh:ro - /etc/thermograph/stack.env:/host/thermograph.env:ro networks: - internal @@ -186,7 +186,7 @@ services: COOLDOWN_SECONDS: ${COOLDOWN_SECONDS:-180} volumes: - /var/run/docker.sock:/var/run/docker.sock - - /opt/thermograph/deploy/stack/autoscale.sh:/host/autoscale.sh:ro + - /opt/thermograph/infra/deploy/stack/autoscale.sh:/host/autoscale.sh:ro networks: - internal deploy: