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'.
This commit is contained in:
parent
e5a4b25f71
commit
0ed7e89401
1 changed files with 5 additions and 5 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue