-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #197 from ngageoint/merge-master-develop
Merge master to develop with changes from 6.2.10 release.
- Loading branch information
Showing
139 changed files
with
31,768 additions
and
35,243 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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,54 @@ | ||
services: | ||
|
||
mage-idp-saml: | ||
container_name: mage-idp-saml | ||
image: kristophjunge/test-saml-idp | ||
environment: | ||
- "SIMPLESAMLPHP_SP_ENTITY_ID=http://localhost:4242" | ||
- "SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE=http://localhost:4242/auth/saml/callback" | ||
- "SIMPLESAMLPHP_SP_SINGLE_LOGOUT_SERVICE=http://localhost:8080/simplesaml/module.php/saml/sp/saml2-logout.php/test-sp" | ||
ports: | ||
- 8080:8080 | ||
- 8443:8443 | ||
volumes: | ||
- type: bind | ||
source: ./saml/authsources.php | ||
target: /var/www/simplesamlphp/config/authsources.php | ||
|
||
mage-idp-ldap: | ||
container_name: mage-idp-ldap | ||
image: osixia/openldap:1.5.0 | ||
environment: | ||
- "LDAP_ORGANISATION=World's Greatest Detectives Inc." | ||
- "LDAP_DOMAIN=wgd.com" | ||
- "LDAP_ADMIN_PASSWORD=i found something" | ||
ports: | ||
- 389:389 | ||
- 636:636 | ||
volumes: | ||
- type: bind | ||
source: ./ldap/db | ||
target: /var/lib/ldap | ||
- type: bind | ||
source: ./ldap/config | ||
target: /etc/ldap/slapd.d | ||
networks: | ||
- ldap.mage.net | ||
|
||
mage-idp-ldap-ui: | ||
container_name: mage-idp-ldap-ui | ||
image: osixia/phpldapadmin:latest | ||
depends_on: | ||
- mage-idp-ldap | ||
environment: | ||
- PHPLDAPADMIN_LDAP_HOSTS=mage-idp-ldap | ||
ports: | ||
- 6480:80 | ||
- 6443:443 | ||
networks: | ||
- ldap.mage.net | ||
|
||
networks: | ||
ldap.mage.net: | ||
driver: bridge | ||
|
Empty file.
Empty file.
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,23 @@ | ||
<?php | ||
|
||
$config = array( | ||
|
||
'admin' => array( | ||
'core:AdminPassword', | ||
), | ||
|
||
'example-userpass' => array( | ||
'exampleauth:UserPass', | ||
'saml.user1:user1pass' => array( | ||
'uid' => array('1'), | ||
'eduPersonAffiliation' => array('group1'), | ||
'email' => '[email protected]', | ||
), | ||
'saml.user2:user2pass' => array( | ||
'uid' => array('2'), | ||
'eduPersonAffiliation' => array('group2'), | ||
'email' => '[email protected]', | ||
), | ||
), | ||
|
||
); |
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,32 @@ | ||
FROM registry1.dso.mil/ironbank/opensource/nodejs/debian/nodejs:18.19.1 | ||
|
||
ARG service_version=latest | ||
ARG web_version=${service_version} | ||
ARG image_version=latest | ||
ARG msi_version=latest | ||
|
||
LABEL author="NGA" | ||
|
||
USER root | ||
|
||
RUN apt-get update | ||
|
||
RUN groupadd -r mage \ | ||
&& useradd -m -r -s /bin/bash -g mage mage \ | ||
&& mkdir -p /var/lib/mage \ | ||
&& chown mage:mage /var/lib/mage | ||
|
||
USER mage | ||
ENV MAGE_HOME /home/mage/instance | ||
WORKDIR ${MAGE_HOME} | ||
RUN ls -l \ | ||
&& npm i --omit dev @ngageoint/mage.service@${service_version} \ | ||
&& npm i --omit dev @ngageoint/mage.web-app@${web_version} \ | ||
&& npm i --omit dev @ngageoint/mage.image.service@${image_version} \ | ||
&& npm i --omit dev @ngageoint/mage.nga-msi@${msi_version} \ | ||
&& ln -s ./node_modules/.bin/mage.service | ||
|
||
VOLUME /var/lib/mage | ||
EXPOSE 4242 | ||
|
||
ENTRYPOINT [ "./mage.service", "--plugin", "@ngageoint/mage.image.service", "--plugin", "@ngageoint/mage.nga-msi" ] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.