fix(deploy): make bundled Ollama opt-in to avoid duplicate container #2

Merged
cesnimda merged 1 commits from fix/ollama-no-duplicate into main 2026-07-03 15:06:23 +02:00
Owner

The compose file shipped its own ollama service, so 'docker compose pull'
during deploy re-downloaded the Ollama image and a deploy that starts the
AI stack would spin up a second Ollama alongside an existing/shared one.

  • ollama service moved behind a 'bundled-ollama' compose profile, so it is
    excluded from the default pull/up (no duplicate, no re-download)
  • ai-service no longer depends_on ollama and is documented to point at a
    shared instance via OLLAMA_BASE_URL (e.g. http://:11435)
  • deploy.sh no longer names ollama in 'compose up'

To run a self-contained Ollama: docker compose --profile bundled-ollama up

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

The compose file shipped its own ollama service, so 'docker compose pull' during deploy re-downloaded the Ollama image and a deploy that starts the AI stack would spin up a second Ollama alongside an existing/shared one. - ollama service moved behind a 'bundled-ollama' compose profile, so it is excluded from the default pull/up (no duplicate, no re-download) - ai-service no longer depends_on ollama and is documented to point at a shared instance via OLLAMA_BASE_URL (e.g. http://<host>:11435) - deploy.sh no longer names ollama in 'compose up' To run a self-contained Ollama: docker compose --profile bundled-ollama up Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
cesnimda added 1 commit 2026-07-03 15:00:34 +02:00
fix(deploy): make bundled Ollama opt-in to avoid duplicate container
CI and Deploy / test (pull_request) Successful in 2m4s
CI and Deploy / deploy (pull_request) Has been skipped
e1e508988a
The compose file shipped its own ollama service, so 'docker compose pull'
during deploy re-downloaded the Ollama image and a deploy that starts the
AI stack would spin up a second Ollama alongside an existing/shared one.

- ollama service moved behind a 'bundled-ollama' compose profile, so it is
  excluded from the default pull/up (no duplicate, no re-download)
- ai-service no longer depends_on ollama and is documented to point at a
  shared instance via OLLAMA_BASE_URL (e.g. http://<host>:11435)
- deploy.sh no longer names ollama in 'compose up'

To run a self-contained Ollama: docker compose --profile bundled-ollama up

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
cesnimda merged commit 31373be841 into main 2026-07-03 15:06:23 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cesnimda/jobtrackingapp#2