All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 8s
The stack manager re-clones this repo fresh on every deploy, which was silently wiping a .env and bind-mounted data placed inside the checkout directory. Point both at a stable location outside it instead. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
15 lines
570 B
YAML
15 lines
570 B
YAML
services:
|
|
power-compare:
|
|
image: git.plexultra.com/dlawler489/power-compare:main
|
|
ports:
|
|
- "8000:8000"
|
|
env_file:
|
|
# Absolute path, deliberately outside this repo checkout: the stack
|
|
# manager re-clones this directory fresh on every deploy, which would
|
|
# silently wipe a .env (or bind-mounted data) placed inside it.
|
|
- /Users/davidlawler/docker/power-compare-data/.env
|
|
environment:
|
|
- DB_PATH=/data/power_compare.db
|
|
volumes:
|
|
- /Users/davidlawler/docker/power-compare-data/data:/data
|
|
restart: unless-stopped
|