From 9059efbef35d13a1c4ce95d78fbca021ffa8709b Mon Sep 17 00:00:00 2001 From: Dan Kerchner Date: Tue, 18 Oct 2022 15:30:36 -0400 Subject: [PATCH] Example docker-compose --- docker-compose.yml => example.docker-compose.yml | 3 +-- generate_saml_metadata.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) rename docker-compose.yml => example.docker-compose.yml (82%) diff --git a/docker-compose.yml b/example.docker-compose.yml similarity index 82% rename from docker-compose.yml rename to example.docker-compose.yml index 9ef001d..c07a696 100644 --- a/docker-compose.yml +++ b/example.docker-compose.yml @@ -24,8 +24,7 @@ services: - POSTGRES_PORT=${POSTGRES_PORT} - DB_ENCRYPTION_FILE=${DB_ENCRYPTION_FILE} volumes: - #- ./orcidflask/saml/certs:/opt/orcid_integration/orcidflask/saml/certs - #- ./orcidflask/saml/settings.json:/opt/orcid_integration/orcidflask/saml/settings.json + #- ./orcidflask/saml:/opt/orcid_integration/orcidflask/saml #- ./config.py:/opt/orcid_integration/config.py #- ./orcidflask/db:/opt/orcid_integration/orcidflask/db - .:/opt/orcid_integration diff --git a/generate_saml_metadata.py b/generate_saml_metadata.py index 8a14938..e976c4e 100644 --- a/generate_saml_metadata.py +++ b/generate_saml_metadata.py @@ -1,7 +1,7 @@ import os from onelogin.saml2.settings import OneLogin_Saml2_Settings -saml_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'saml') +saml_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'orcidflask/saml') def get_metadata(): settings = OneLogin_Saml2_Settings(custom_base_path=saml_path)