Synchronize repository with Athena deployment
This commit is contained in:
@@ -51,24 +51,10 @@ case "$command" in
|
||||
shift
|
||||
[[ $# -eq 0 ]] || { echo "core akzeptiert keine weiteren Services" >&2; exit 2; }
|
||||
run "$ROOT_DIR/platform/mcp/install-tools.sh"
|
||||
# Release the old gateway namespace (and its fixed network addresses)
|
||||
# before replacing its owner. Otherwise Docker can strand the host with
|
||||
# the old namespace still held by these two consumers.
|
||||
run "${compose[@]}" stop llama-dashboard portainer
|
||||
run "${compose[@]}" up -d --build \
|
||||
wireguard-gateway piper xtts tts-gateway profile-controller router llama-dashboard portainer backup
|
||||
wireguard-gateway qwen3-tts tts-gateway profile-controller router llama-dashboard portainer backup
|
||||
else
|
||||
rebind_gateway=false
|
||||
for service in "$@"; do
|
||||
[[ $service == wireguard-gateway ]] && rebind_gateway=true
|
||||
done
|
||||
if [[ $rebind_gateway == true ]]; then
|
||||
run "${compose[@]}" stop llama-dashboard portainer
|
||||
fi
|
||||
run "${compose[@]}" up -d --build --no-deps "$@"
|
||||
if [[ $rebind_gateway == true ]]; then
|
||||
run "${compose[@]}" up -d --no-deps --force-recreate llama-dashboard portainer
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
purge-legacy)
|
||||
|
||||
Reference in New Issue
Block a user