From 78e572d0db9ba74de8d4cbd41ed703511164b76e Mon Sep 17 00:00:00 2001 From: Torben Brenner Date: Fri, 23 May 2025 16:33:42 +0200 Subject: [PATCH] fix: don't attach to network use project instead --- bridgehead | 2 +- modules/beam-file-compose.yml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/bridgehead b/bridgehead index c0b63b4..a21852c 100755 --- a/bridgehead +++ b/bridgehead @@ -181,7 +181,7 @@ case "$ACTION" in log "WARNING" "Your are about to send a file to another bridgehead in your network!" read -p "Please name the bridgehead you want to send the file to (proxy-id): " RECEIVER_PROXY_ID read -p "Continue? (Y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || exit 1 - exec $COMPOSE -f ./modules/beam-file-compose.yml --profile beam-file-sender run beam-file-sender send --to beamfile.$1 /data/outfile + exec $COMPOSE -p $PROJECT ./modules/beam-file-compose.yml --profile beam-file-sender run beam-file-sender send --to beamfile.$1 /data/outfile ;; *) printUsage diff --git a/modules/beam-file-compose.yml b/modules/beam-file-compose.yml index c5dc68f..9fab232 100644 --- a/modules/beam-file-compose.yml +++ b/modules/beam-file-compose.yml @@ -12,8 +12,6 @@ services: # Only uncomment if your are sure what to do # ports: # - 8085:8085 - networks: - - ${PROJECT}_default volumes: - /var/cache/bridgehead/beam-file-out/:/data profiles: ["beam-file-sender"]