Add a readme!

This commit is contained in:
R Tyler Croy 2019-03-25 20:24:36 -07:00
parent 2681d22fd0
commit 38cc415937
No known key found for this signature in database
GPG Key ID: E5C92681BEF6CEA2
2 changed files with 27 additions and 1 deletions

26
README.adoc Normal file
View File

@ -0,0 +1,26 @@
= ACI Tunnel
This repository allows for the creation of public facing tunnels to local
services through
link:https://docs.microsoft.com/en-us/azure/container-instances/[Azure
Container Instances]. This makes it easy to share in-progress development work
with colleagues across multiple networks and continentns!
== Usage
The `aci-tunnel` script expects that the
link:https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest[Azure CLI]
is installed and configured for your Azure account.
After that has been set up, simply invoke `aci-tunnel` with the ports you wish to tunnel:
[source,bash]
----
aci-tunnel 8080
----
Once the tunnel is active, you would be able to use the public IP address
printed on the screen!

View File

@ -22,7 +22,7 @@ forwards=()
########w#######################################################################
shutdown() {
echo ">> Attempting to cleanly shut off remote tunnel"
az container delete -g ${AZ_GROUP} -n ${AZ_CONTAINER}
az container delete -g ${AZ_GROUP} -n ${AZ_CONTAINER} -y
echo ">> Remote tunnel deleted"
exit
}