Skip to content

Commit 7ca8dec

Browse files
waleedlatif1claude
andcommitted
fix: parameterize the Ollama rollback profile
The rollback hard-coded `--profile gpu` while the upgrade example above it uses a variable, so a CPU install would have started the GPU service. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015BwsJTEQRzWJaY4BRCkPZt
1 parent 607367c commit 7ca8dec

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

apps/docs/content/docs/platform/self-hosting/upgrades.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,9 @@ git checkout <previous-release-tag>
284284
# Local stack
285285
docker compose -f docker-compose.local.yml up -d --build
286286

287-
# Ollama stack — same profile you installed with
288-
docker compose -f docker-compose.ollama.yml --profile gpu up -d --build
287+
# Ollama stack — the profile you installed with
288+
PROFILE=gpu # or cpu
289+
docker compose -f docker-compose.ollama.yml --profile "$PROFILE" up -d --build
289290
```
290291

291292
**Rollback after a schema change** requires restoring the database to the pre-upgrade backup, because migrations are forward-only:

0 commit comments

Comments
 (0)