Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
index page and commands
- Loading branch information
mchyzer
committed
May 25, 2020
1 parent
f2d3246
commit fffaf11
Showing
7 changed files
with
149 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
ProxyRequests Off | ||
ProxyPreserveHost On | ||
|
||
<Proxy *> | ||
Order deny,allow | ||
Allow from all | ||
</Proxy> | ||
|
||
AllowEncodedSlashes NoDecode | ||
ProxyPass /rabbitmq/ http://rabbitmq:15672/ nocanon | ||
ProxyPassReverse /rabbitmq/ http://rabbitmq:15672/ | ||
|
||
<Location /rabbitmq/> | ||
Order allow,deny | ||
Allow from all | ||
</Location> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>GTE jump page</title> | ||
<style> | ||
#myTable { | ||
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; | ||
border-collapse: collapse; | ||
width: 100%; | ||
} | ||
|
||
#myTable td, #myTable th { | ||
border: 1px solid #ddd; | ||
padding: 8px; | ||
} | ||
|
||
#myTable tr:nth-child(even){background-color: #f2f2f2;} | ||
|
||
#myTable tr:hover {background-color: #ddd;} | ||
|
||
#myTable th { | ||
padding-top: 12px; | ||
padding-bottom: 12px; | ||
text-align: left; | ||
background-color: #4CAF50; | ||
color: white; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>GTE jump page</h1> | ||
<br /><br /> | ||
<table id="myTable"> | ||
<tr> | ||
<th>Name</th> | ||
<th>Link</th> | ||
<th>Credentials</th> | ||
<th>Description</th> | ||
</tr> | ||
<tr> | ||
<td><a href="/grouper/">Grouper</a></td> | ||
<td>https://localhost:8443/grouper/</td> | ||
<td>Admin: banderson / password<br/> | ||
Civilian: jsmith / password</td> | ||
<td>Grouper UI application</td> | ||
</tr> | ||
<tr> | ||
<td><a href="/phpmyadmin/">Database manager</a></td> | ||
<td>https://localhost:8443/phpmyadmin/</td> | ||
<td>root / <no password></td> | ||
<td>Phpmyadmin Mysql database manager</td> | ||
</tr> | ||
<tr> | ||
<td><a href="/phpldapadmin/">LDAP manager</a></td> | ||
<td>https://localhost:8443/phpldapadmin/</td> | ||
<td>username: cn=root,dc=internet2,dc=edu<br />password: password</td> | ||
<td>Phpldapadmin LDAP administration</td> | ||
</tr> | ||
<tr> | ||
<td><a href="/rabbitmq/">Messaging manager</a></td> | ||
<td>https://localhost:8443/rabbitmq/</td> | ||
<td>username: guest<br />password: guest</td> | ||
<td>Rabbitmq messaging administration</td> | ||
</tr> | ||
<tr> | ||
<td><a href="/app">Shibboleth attributes</a></td> | ||
<td>https://localhost:8443/app</td> | ||
<td></td> | ||
<td>Simple screen to show login state</td> | ||
</tr> | ||
<tr> | ||
<td><a href="https://spaces.at.internet2.edu/display/Grouper/Grouper+Training+Environment">Wiki</a></td> | ||
<td>https://spaces.at.internet2.edu/display/Grouper/Grouper+Training+Environment</td> | ||
<td></td> | ||
<td>Documentation and more links</td> | ||
</tr> | ||
<tr> | ||
<td>Slides</td> | ||
<td>Linked from slack "pin"</td> | ||
<td></td> | ||
<td></td> | ||
</tr> | ||
|
||
<!-- | ||
<tr> | ||
<td></td> | ||
<td></td> | ||
<td></td> | ||
<td></td> | ||
</tr> | ||
--> | ||
</table> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
#! /bin/bash | ||
|
||
if [ -z "$1" ] | ||
if [ ! -z "$1" ] | ||
then | ||
docker ps --format "{{.Names}} {{.Image}} {{.Status}}" | ||
exit 0 | ||
echo "Do not pass in an argument: $1" | ||
fi | ||
|
||
docker exec -it -u tomcat "$1" /opt/grouper/grouperWebapp/WEB-INF/bin/gsh.sh 2> /dev/null | ||
label=$( docker ps -a | grep 'tier/gte' | awk '{print $1}' ) | ||
docker exec -it -u tomcat "$label" /opt/grouper/grouperWebapp/WEB-INF/bin/gsh.sh 2> /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#! /bin/bash | ||
|
||
if [ ! -z "$1" ] | ||
then | ||
echo "Do not pass in an argument: $1" | ||
fi | ||
label=$( docker ps -a | grep 'tier/gte' | awk '{print $1}' ) | ||
|
||
docker logs -f "$label" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#! /bin/bash | ||
|
||
if [ -z "$1" ] | ||
if [ ! -z "$1" ] | ||
then | ||
docker ps --format "{{.Names}} {{.Image}} {{.Status}}" | ||
exit 0 | ||
echo "Do not pass in an argument: $1" | ||
fi | ||
label=$( docker ps -a | grep 'tier/gte' | awk '{print $1}' ) | ||
|
||
docker exec -it "$1" /bin/bash 2> /dev/null | ||
docker exec -it "$label" /bin/bash 2> /dev/null |