diff --git a/env_files/project-example.env b/env_files/project-example.env new file mode 100644 index 0000000..fc8951e --- /dev/null +++ b/env_files/project-example.env @@ -0,0 +1,3 @@ +PROJECT_TYPE=wordpress +PROJECT_TYPE=laravel +PROJECT_TYPE=livewire diff --git a/env_files/ssh-tunnel-example.env b/env_files/ssh-tunnel-example.env index 7a25303..fe3e54d 100644 --- a/env_files/ssh-tunnel-example.env +++ b/env_files/ssh-tunnel-example.env @@ -1,4 +1,4 @@ -local_ip_on_remote=localhost -local_port=5432 -local_port_on_remote=5432 -remote_host=federal-non-interactive +LOCAL_IP_ON_REMOTE=localhost +LOCAL_PORT=5432 +LOCAL_PORT_ON_REMOTE=5432 +REMOTE_HOST=federal-non-interactive diff --git a/start-ssh-tunnel.sh b/start-ssh-tunnel.sh index e2f4084..22cb3e2 100644 --- a/start-ssh-tunnel.sh +++ b/start-ssh-tunnel.sh @@ -20,5 +20,5 @@ ssh \ -v \ -N \ -L \ - "${TRAEFIK_LISTENING_IP}:${local_port}:${local_ip_on_remote}:${local_port_on_remote}" \ - "${remote_host}" + "${TRAEFIK_LISTENING_IP}:${LOCAL_PORT}:${LOCAL_IP_ON_REMOTE}:${LOCAL_PORT_ON_REMOTE}" \ + "${REMOTE_HOST}"