diff --git a/docker_portainer_stacks/portainer/portainer-agent/install-portainer-agent b/docker_portainer_stacks/portainer/portainer-agent/install-portainer-agent new file mode 100644 index 0000000..c22ef9a --- /dev/null +++ b/docker_portainer_stacks/portainer/portainer-agent/install-portainer-agent @@ -0,0 +1,72 @@ +#!/bin/bash +# ___ _ _ _ __ +# / __|| |_ | |_ ___ | '_ \ ___ +# \__ \| _|| \ / _ \| .__// -_) +# |___/ \__||_||_|\___/|_| \___| + + +#### USAGE +# bash -c "$(wget -qLO - https://git.sthope.dev/sthope/sthope-examples/src/branch/master/docker_portainer_stacks/raw/branch/master/portainer/install-portainer-agent)" EDGE_ID EDGE_KEY + +EDGE_ID=1 +EDGE_KEY=2 +NETWORK=3 +TAG=4 +DOCKER_FILE="./test123.log" +SAVE_IN='echo -e ' +SAVE_OUT='' + + +# cat > ./test_file.log <> ${DOCKER_FILE} <