Compare commits

..

1 Commits

Author SHA1 Message Date
cesnimda 316ef9ac1a Merge pull request 'Merge Request — Wave 0 quick wins + Tier-1/Tier-2 features' (#1) from chore/wave0-quick-wins into main
CI and Deploy / test (push) Successful in 2m10s
CI and Deploy / deploy (push) Has been cancelled
Reviewed-on: #1
2026-07-03 11:14:14 +02:00
2 changed files with 3 additions and 11 deletions
+1 -3
View File
@@ -61,9 +61,7 @@ fi
# Force recreation so updated port mappings, env vars, and container config always apply on deploy. # Force recreation so updated port mappings, env vars, and container config always apply on deploy.
compose up -d --force-recreate --remove-orphans backend frontend compose up -d --force-recreate --remove-orphans backend frontend
if [ "$DEPLOY_BUILD_AI_SERVICE" = "true" ]; then if [ "$DEPLOY_BUILD_AI_SERVICE" = "true" ]; then
# Ollama is opt-in (compose "bundled-ollama" profile). Deploys reuse an compose up -d --force-recreate ai-service ollama
# existing/shared Ollama via OLLAMA_BASE_URL instead of starting a duplicate.
compose up -d --force-recreate ai-service
fi fi
if [ -n "${OLLAMA_MODEL:-}" ]; then if [ -n "${OLLAMA_MODEL:-}" ]; then
+2 -8
View File
@@ -75,14 +75,12 @@ services:
context: ./tools/summarizer context: ./tools/summarizer
dockerfile: Dockerfile dockerfile: Dockerfile
environment: environment:
# Point at an existing/shared Ollama by setting OLLAMA_BASE_URL in .env
# (e.g. http://<host-ip>:11435). The in-compose ollama service below is
# opt-in via the "bundled-ollama" profile, so it is NOT started by default
# and no duplicate Ollama container is created.
- OLLAMA_BASE_URL=${OLLAMA_BASE_URL:-http://ollama:11434} - OLLAMA_BASE_URL=${OLLAMA_BASE_URL:-http://ollama:11434}
- OLLAMA_MODEL=${OLLAMA_MODEL:-qwen2.5:7b} - OLLAMA_MODEL=${OLLAMA_MODEL:-qwen2.5:7b}
ports: ports:
- "8001:8001" - "8001:8001"
depends_on:
- ollama
networks: networks:
- default - default
- shared_services - shared_services
@@ -93,11 +91,7 @@ services:
timeout: 10s timeout: 10s
retries: 3 retries: 3
# Opt-in only: start with `docker compose --profile bundled-ollama up`.
# Left out of the default set so deploys reuse an existing/shared Ollama
# (configured via OLLAMA_BASE_URL) instead of spinning up a duplicate.
ollama: ollama:
profiles: ["bundled-ollama"]
image: ollama/ollama:latest image: ollama/ollama:latest
ports: ports:
- "11434:11434" - "11434:11434"