diff --git a/Dockerfile b/Dockerfile
index 76742bd..22e90c3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,6 +10,9 @@ 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
+ENV SHIBBOLETH_SESSION_LIFETIME=7200
+ENV SHIBBOLETH_SESSION_TIMEOUT=3600
+ENV SHIBBOLETH_CACHE_TIMEOUT=3600
WORKDIR /etc/shibboleth
diff --git a/shibboleth2.xml-template b/shibboleth2.xml-template
index 876f7cf..0caa345 100644
--- a/shibboleth2.xml-template
+++ b/shibboleth2.xml-template
@@ -19,7 +19,7 @@
-
+
@@ -29,7 +29,7 @@
signing="true" encryption="false"
REMOTE_USER="${SHIBD_REMOTE_USER}">
-