Skip to content

Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.

TypeScript

fix(install): use modern docker compose command in update script

Jake Turner275ca809314f
diff --git a/install/update_nomad.sh b/install/update_nomad.sh
index 36fa74f2..84314aa5 100644
--- a/install/update_nomad.sh
+++ b/install/update_nomad.sh
@@ -103,7 +103,10 @@ ensure_docker_compose_file_exists() {
force_recreate() {
echo -e "${YELLOW}#${RESET} Forcing recreation of containers..."
- docker-compose -f /opt/project-nomad/compose.yml up -d --force-recreate
+ if ! docker compose -f /opt/project-nomad/compose.yml up -d --force-recreate; then
+ echo -e "${RED}#${RESET} Failed to recreate containers. Please check the Docker logs for more details."
+ exit 1
+ fi
}
get_local_ip() {