diff --git a/playbook/INSTALLATION_PLAYBOOK.md b/playbook/INSTALLATION_PLAYBOOK.md index 015a11b..c1c1220 100644 --- a/playbook/INSTALLATION_PLAYBOOK.md +++ b/playbook/INSTALLATION_PLAYBOOK.md @@ -106,12 +106,16 @@ push `backend-billing`'s image before the first deploy.** `pull_policy: never` by default — correct for local dev (uses whatever was just built locally), but on a fresh Dokploy VPS there's no image to pull at all until one has actually been pushed somewhere it can reach. Set `BACKEND_BILLING_IMAGE` to a real registry path and -`BACKEND_BILLING_PULL_POLICY=missing` in `.env` first (see `.env.example`) — `build.sh` detects +`BACKEND_BILLING_PULL_POLICY=always` in `.env` first (see `.env.example`) — `build.sh` detects the registry path automatically and pushes; set `DOKPLOY_URL`/`DOKPLOY_API_TOKEN`/ `DOKPLOY_COMPOSE_ID` too if it should also trigger the redeploy itself. The VPS never builds this image from source — same build-locally-test-locally-ship-the-tested-artifact reasoning as the branding image above, and the one confirmed way to avoid Dokploy's AutoDeploy rebuilding -something slightly differently than what was actually tested. +something slightly differently than what was actually tested. **Must be `always`, not +`missing`** — confirmed the hard way: `missing` only pulls when the tag isn't already present +locally, so once the VPS has pulled this image once, every later push under the same +`:latest` tag is silently never re-pulled and the container keeps running stale code +indefinitely, with no error anywhere. **Real client, on the production Linux VPS:** every persistent volume this stack uses (site data, the database, the billing state) gets bind-mounted to one visible host directory instead of