Updates run-local.sh to download the compose file to a temporary directory and creates a script in the user's current working directory called /tmp/compose-down.sh, which reverts everything back to the way it was before the command was run (calls docker compose down to stop the service which was run, then deletes the temporary directory, after which the compose-down.sh script "self-destructs" by deleting itself)
compose-down.sh could also be created in $HOME. Choice of /tmp is not terribly important
Updates
run-local.sh
to download the compose file to a temporary directory and creates a scriptin the user's current working directorycalled/tmp/compose-down.sh
, which reverts everything back to the way it was before the command was run (callsdocker compose down
to stop the service which was run, then deletes the temporary directory, after which thecompose-down.sh
script "self-destructs" by deleting itself)compose-down.sh
could also be created in $HOME. Choice of /tmp is not terribly importantWould close #35