From 687e2091e94cc2d0acf8c30d582b9de322663b7a Mon Sep 17 00:00:00 2001 From: dlawler489 <104159223@student.swin.edu.au> Date: Wed, 9 Sep 2026 12:07:48 +1000 Subject: [PATCH] Add docker-compose.yaml alongside .yml The stack manager looks for the .yaml spelling for this stack; keep both in sync so it works regardless of which one it reads. Co-Authored-By: Claude Sonnet 5 --- docker-compose.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 docker-compose.yaml diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..ae1e62c --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,19 @@ +services: + power-compare-mcdowall: + image: git.plexultra.com/dlawler489/power-compare:main + ports: + - "44597:8000" + env_file: + # See the power-compare repo's docker-compose.yml for why this is an + # /app/data/... path rather than a real host path: the stack manager + # runs `docker compose` inside its own container, so paths here + # resolve against ITS filesystem (mounted from + # /Users/davidlawler/docker/dockhand on the host), not the real host's. + - /app/data/power-compare-mcdowall-persistent/.env + environment: + - DB_PATH=/data/power_compare.db + volumes: + # Bind-mount SOURCE, by contrast, is resolved by the real Docker + # daemon against the actual host filesystem -- a real host path. + - /Users/davidlawler/docker/power-compare-mcdowall-data/data:/data + restart: unless-stopped