Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey authored May 12, 2017
1 parent 297d7a6 commit 37b44a9
Showing 1 changed file with 3 additions and 35 deletions.
38 changes: 3 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,8 @@
# shib-idp_noVM
Used for building/running a TIER Shibb-IdP container without the TIER VM.

If you have an existing configuration, you can use it as follows (these are examples only, adjust as appropriate):
This repository contains untested developmental work.

**For a container with a "burned-in" configuration (you must supply the config at build-time):
BUILD:
docker build --rm -t my/shibb-idp-tier --build-arg TOMCFG=config/tomcat \
--build-arg TOMLOG=logs/tomcat \
--build-arg TOMCERT=credentials/tomcat \
--build-arg TOMWWWROOT=wwwroot \
--build-arg SHBCFG=config/shib-idp/conf \
--build-arg SHBCREDS=credentials/shib-idp \
--build-arg SHBVIEWS=config/shib-idp/views \
--build-arg SHBEDWAPP=config/shib-idp/edit-webapp \
--build-arg SHBMSGS=config/shib-idp/messages \
--build-arg SHBMD=config/shib-idp/metadata \
--build-arg SHBLOG=logs/shib-idp .

RUN:
docker run -d --name shib-test1 -p 8443:8443 my/shibb-idp-tier
To test it, see the notes in the following document:
https://docs.google.com/document/d/1qb5XTde1nulCdA_8QUei48CxDj0lQs7ShD622Ze_4II/edit?usp=sharing


**For a container with a "mounted" configuration (you must supply the config at run-time):
BUILD:
docker build --rm -t my/shibb-idp-tier .

RUN:
docker run -d --name shib-idp -p 8443:8443 -v /home/shibboleth/conf/tomcat-test:/usr/local/tomcat/conf \
-v /home/shibboleth/build/shibboleth_idp/www:/usr/local/tomcat/webapps/ROOT \
-v /home/shibboleth/logs/tomtest1:/usr/local/tomcat/logs \
-v /home/shibboleth/build/shibboleth_idp/certs:/opt/certs \
-v /home/shibboleth/build/shibboleth_idp/root/conf:/opt/shibboleth/shibboleth-identity-provider-3.3.1/conf \
-v /home/shibboleth/build/shibboleth_idp/root/credentials:/opt/shibboleth/shibboleth-identity-provider-3.3.1/credentials \
-v /home/shibboleth/build/shibboleth_idp/root/views:/opt/shibboleth/shibboleth-identity-provider-3.3.1/views \
-v /home/shibboleth/build/shibboleth_idp/root/edit-webapp:/opt/shibboleth/shibboleth-identity-provider-3.3.1/edit-webapp \
-v /home/shibboleth/build/shibboleth_idp/root/messages:/opt/shibboleth/shibboleth-identity-provider-3.3.1/messages \
-v /home/shibboleth/build/shibboleth_idp/root/metadata:/opt/shibboleth/shibboleth-identity-provider-3.3.1/metadata \
-v /home/shibboleth/logs/idptest1:/opt/shibboleth/shibboleth-identity-provider-3.3.1/logs \
my/shibb-idp-tier

0 comments on commit 37b44a9

Please sign in to comment.