Skip to content

Commit

Permalink
Switch to use the TIER image for COmanage Registry
Browse files Browse the repository at this point in the history
Switch to using the TIERR image for COmanage Registry instead of the
Spherical Cow Group image.
  • Loading branch information
skoranda committed Nov 14, 2019
1 parent f3becc8 commit ed9ad38
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
5 changes: 2 additions & 3 deletions roles/training/files/comanage-registry-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ services:
tag: "mariadb-{{.Name}}"

registry:
# Change this to TAP image when it is ready.
image: sphericalcowgroup/comanage-registry:hotfix-3.2.x-shibboleth-sp-4
image: tier/comanage:3.2.2-20191108
volumes:
- /srv/docker/srv/comanage-registry/local:/srv/comanage-registry/local
- /srv/docker/etc/shibboleth/shibboleth2.xml:/etc/shibboleth/shibboleth2.xml
- /srv/docker/etc/shibboleth/attribute-map.xml:/etc/shibboleth/attribute-map.xml
- /srv/docker/etc/shibboleth/idp-metadata.xml:/etc/shibboleth/idp-metadata.xml
- /srv/docker/etc/apache2/sites-available/000-comanage.conf:/etc/apache2/sites-available/000-comanage.conf
- /srv/docker/etc/httpd/conf.d/000-comanage.conf:/etc/httpd/conf.d/000-comanage.conf
environment:
- COMANAGE_REGISTRY_ADMIN_GIVEN_NAME=
- COMANAGE_REGISTRY_ADMIN_FAMILY_NAME=
Expand Down
1 change: 1 addition & 0 deletions roles/training/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
- /srv/docker/etc/ldap/slapd.d
- /srv/docker/etc/shibboleth
- /srv/docker/etc/apache2/sites-available
- /srv/docker/etc/httpd/conf.d
- /srv/docker/ldif

- name: Copy service stack file
Expand Down
18 changes: 15 additions & 3 deletions roles/training/templates/000-comanage.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,22 @@ DocumentRoot /var/www/html

RedirectMatch ^/$ /registry/

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
PassEnv ENV
PassEnv USERTOKEN

Include apache-include-directory-registry
ErrorLogFormat "httpd;ssl_error_log;%{ENV}e;%{USERTOKEN}e;[%{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% ,\ referer\ %{Referer}i"
ErrorLog /tmp/logpipe
LogLevel warn

LogFormat "httpd;ssl_access_log;%{ENV}e;%{USERTOKEN}e;%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" ssl_combined
CustomLog /tmp/logpipe ssl_combined

<Directory /var/www/html/registry>
Options Indexes FollowSymLinks
DirectoryIndex index.php
AllowOverride All
Require all granted
</Directory>

<Location "/Shibboleth.sso">
SetHandler shib
Expand Down

0 comments on commit ed9ad38

Please sign in to comment.