mirror of
https://github.com/samply/bridgehead.git
synced 2025-06-16 23:00:15 +02:00
fix: don't attach to network use project instead
This commit is contained in:
@ -181,7 +181,7 @@ case "$ACTION" in
|
|||||||
log "WARNING" "Your are about to send a file to another bridgehead in your network!"
|
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 "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
|
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
|
printUsage
|
||||||
|
@ -12,8 +12,6 @@ services:
|
|||||||
# Only uncomment if your are sure what to do
|
# Only uncomment if your are sure what to do
|
||||||
# ports:
|
# ports:
|
||||||
# - 8085:8085
|
# - 8085:8085
|
||||||
networks:
|
|
||||||
- ${PROJECT}_default
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/cache/bridgehead/beam-file-out/:/data
|
- /var/cache/bridgehead/beam-file-out/:/data
|
||||||
profiles: ["beam-file-sender"]
|
profiles: ["beam-file-sender"]
|
||||||
|
Reference in New Issue
Block a user