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 <noreply@anthropic.com>
This commit is contained in:
parent
0908e77378
commit
687e2091e9
1 changed files with 19 additions and 0 deletions
19
docker-compose.yaml
Normal file
19
docker-compose.yaml
Normal file
|
|
@ -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
|
||||
Loading…
Reference in a new issue