power-compare-mcdowall/docker-compose.yml
dlawler489 0908e77378 Initial deploy-only compose for the McDowall instance
Reuses the power-compare image with its own port, env, and data volume.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-09 12:01:55 +10:00

19 lines
861 B
YAML

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