-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
60 additions
and
22 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,40 @@ | ||
| # shib-idp_noVM | ||
| Used for building/running a TIER Shibb-IdP container without the TIER VM | ||
| 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): | ||
|
|
||
| **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 | ||
|
|
||
|
|
||
| **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 |
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