Reuses the power-compare image with its own port, env, and data volume. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1.4 KiB
1.4 KiB
power-compare-mcdowall
Deploy-only repo for a second, fully independent instance of power-compare, pointed at the McDowall plant instead of Kallangur.
It has no source of its own -- it just pulls the same built image
(git.plexultra.com/dlawler489/power-compare:main) and runs it with its own
.env, its own database, and its own port (44597). A code change to
power-compare only needs pushing there; redeploying this stack picks up the
new image automatically.
Setup for a fresh deploy:
- Deploy this stack via the stack manager.
- Create
/app/data/power-compare-mcdowall-persistent/.env(as seen inside the stack manager's own container) with the real config -- see power-compare's.env.examplefor the shape. Use the sameISOLARCLOUD_APP_KEY/ISOLARCLOUD_APP_SECRET/ISOLARCLOUD_OAUTH_APP_IDas the Kallangur instance (same developer app registration, same account) -- leaveISOLARCLOUD_PLANT_IDblank and pick McDowall from the plant list in Settings after connecting, since one account can see both plants. SetPOSTCODEto McDowall's. - Redeploy so the container picks up the
.env. - Open Settings, connect the OAuth flow (this instance has its own database, so it needs its own one-time connect even though it's the same account), and pick the McDowall plant from the list.