Skip to content

Commit

Permalink
Example docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
kerchner committed Oct 18, 2022
1 parent d46134f commit 9059efb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docker-compose.yml → example.docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion generate_saml_metadata.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 9059efb

Please sign in to comment.