From 93fe7084a1a41c978e886e140a3d61fe4c995edd Mon Sep 17 00:00:00 2001 From: Pan Luo Date: Fri, 27 Jan 2023 12:01:50 -0800 Subject: [PATCH] Move backupfile to /var/cache/shibboleth and add default value --- Dockerfile | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3cf4605..76742bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ ENV LOG_LEVEL=INFO ENV SHIBD_VERSION=3.2.1-3.1 ENV SHIBD_REMOTE_USER=somerandomname ENV SHIBD_CONSISTENT_ADDRESS=true +ENV SHIBBOLETH_IDP_METADATA_BACKUPFILE=/var/cache/shibboleth/shibboleth-metadata-idp.xml WORKDIR /etc/shibboleth diff --git a/docker-compose.yml b/docker-compose.yml index 210ddb4..2deb0bb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,7 +19,7 @@ services: environment: - SHIBBOLETH_IDP_DISCOVERY_URL=https://authentication.stg.id.ubc.ca - SHIBBOLETH_IDP_METADATA_URL=https://authentication.stg.id.ubc.ca/idp/shibboleth - - SHIBBOLETH_IDP_METADATA_BACKUPFILE=/tmp/shibboleth-metadata-idp.xml + - SHIBBOLETH_IDP_METADATA_BACKUPFILE=/var/cache/shibboleth/shibboleth-metadata-idp.xml - SHIBBOLETH_IDP_ENTITY_ID=https://authentication.stg.id.ubc.ca - SHIBBOLETH_SP_ENTITY_ID=https://moodle.ubc.ca - SHIBD_LISTENER_ACL=0.0.0.0/0