From 4e02a27924d64e73a045ff0f93545022091f7f9e Mon Sep 17 00:00:00 2001 From: vikingowl Date: Thu, 1 Jan 2026 08:23:27 +0100 Subject: [PATCH] fix: remove depends_on and fix prompt display in install script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove depends_on from docker-compose.yml (services handle reconnection) - This allows the override to disable ollama without errors - Fix prompt display when running via curl | bash (print to stderr) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- docker-compose.yml | 5 ----- install.sh | 6 +++--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b5066d6..ee30bc2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,9 +11,6 @@ services: environment: - OLLAMA_API_URL=http://ollama:11434 - BACKEND_URL=http://backend:9090 - depends_on: - - ollama - - backend networks: - vessel-network restart: unless-stopped @@ -30,8 +27,6 @@ services: - PORT=9090 volumes: - backend-data:/app/data - depends_on: - - ollama networks: - vessel-network restart: unless-stopped diff --git a/install.sh b/install.sh index b54ba27..a0cbbd2 100755 --- a/install.sh +++ b/install.sh @@ -90,10 +90,12 @@ prompt_yes_no() { fi # Read from /dev/tty to work with curl | bash + # Print prompt to stderr so it shows even when stdin is redirected if [[ -t 0 ]]; then read -r -p "$prompt" response else - read -r -p "$prompt" response < /dev/tty 2>/dev/null || response="$default" + printf "%s" "$prompt" >&2 + read -r response < /dev/tty 2>/dev/null || response="$default" fi response="${response:-$default}" @@ -231,14 +233,12 @@ services: profiles: ["disabled"] frontend: - depends_on: [] environment: - OLLAMA_API_URL=http://host.docker.internal:11434 extra_hosts: - "host.docker.internal:host-gateway" backend: - depends_on: [] environment: - OLLAMA_URL=http://host.docker.internal:11434 extra_hosts: