Skip to content

Commit

Permalink
Merge pull request #202 from Islandora-Devops/cantaloupe-auth-header
Browse files Browse the repository at this point in the history
Adding configuration to use custom delegate script with Cantaloupe
  • Loading branch information
nigelgbanks authored Jan 13, 2022
2 parents f1ff9c2 + cc36931 commit 98089dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.cantaloupe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ services:
cantaloupe:
restart: ${RESTART_POLICY:-unless-stopped}
image: ${REPOSITORY:-islandora}/cantaloupe:${TAG:-latest}
environment:
CANTALOUPE_DELEGATE_SCRIPT_ENABLED: ${CANTALOUPE_DELEGATE_SCRIPT_ENABLED} # "true"
CANTALOUPE_DELEGATE_SCRIPT_PATHNAME: ${CANTALOUPE_DELEGATE_SCRIPT_PATHNAME} #/opt/tomcat/bin/delegates.rb
CANTALOUPE_HTTPSOURCE_LOOKUP_STRATEGY: ${CANTALOUPE_HTTPSOURCE_LOOKUP_STRATEGY} # ScriptLookupStrategy
volumes:
- cantaloupe-data:/data
labels:
Expand Down
5 changes: 5 additions & 0 deletions sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,8 @@ RECAST_MEMORY_LIMIT=1G
SOLR_MEMORY_LIMIT=8G
TRAEFIK_MEMORY_LIMIT=8G
WATCHTOWER_MEMORY_LIMIT=2G

# Configuration to enable the custom delegate script for Cantaloupe
CANTALOUPE_DELEGATE_SCRIPT_ENABLED=true
CANTALOUPE_DELEGATE_SCRIPT_PATHNAME=/opt/tomcat/bin/delegates.rb
CANTALOUPE_HTTPSOURCE_LOOKUP_STRATEGY=ScriptLookupStrategy

0 comments on commit 98089dd

Please sign in to comment.