-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing the hard-coded instance to a looser implementation (#4)
Now configured by SP_URLS env var, and it must be a full URL to a metadata XML file. Added docekr-compose.yml to help with maintaining this image Added a internal refresh link to allow the metadata to be refreshed.
- Loading branch information
1 parent
d5372cf
commit 6130995
Showing
10 changed files
with
218 additions
and
96 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# SP_URLS should be a full URL to a metadata file | ||
SP_URLS=http://example.com/my/metadata.php |
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ server.pem | |
server.crt | ||
simplesamlphp-*/ | ||
simplesamlphp-*.tar.gz | ||
.env |
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
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,26 @@ | ||
version: "3.7" | ||
|
||
services: | ||
dev: | ||
build: | ||
context: . | ||
target: dev | ||
ports: | ||
- "8099:8099" | ||
environment: | ||
- LISTEN_PORT=8099 | ||
- SITE_HEADER=Dev SAML Image | ||
- SP_URLS=$SP_URLS | ||
volumes: | ||
- ./metadata/:/var/www/html/metadata/ | ||
- ./config/:/var/www/config/ | ||
- ./modules/totara/themes/:/var/www/html/modules/totara/themes/ | ||
|
||
prod: | ||
build: . | ||
ports: | ||
- "8098:8098" | ||
environment: | ||
- LISTEN_PORT=8098 | ||
- SITE_HEADER=Prod SAML Image | ||
- SP_URLS=$SP_URLS |
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
Oops, something went wrong.