Skip to content

Commit

Permalink
Merge pull request #307 from DigitalSlideArchive/http-only-default
Browse files Browse the repository at this point in the history
Show how to use httponly cookies
  • Loading branch information
manthey authored Dec 14, 2023
2 parents 6405bd5 + 9b49f0b commit fa9cc8e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devops/dsa/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ services:
environment:
DSA_USER: ${DSA_USER:-}
DSA_PROVISION_YAML: ${DSA_PROVISION_YAML:-/opt/digital_slide_archive/devops/dsa/provision.yaml}
# You can also set girder settings here:
# GIRDER_SETTING_CORE_HTTP_ONLY_COOKIES: true
restart: unless-stopped
# Set DSA_PORT to expose the interface on another port (default 8080).
ports:
Expand Down
1 change: 1 addition & 0 deletions devops/dsa/provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ def merge_default_opts(opts):
'worker.api_url': 'http://girder:8080/api/v1',
'worker.direct_path': True,
'core.brand_name': 'Digital Slide Archive',
# 'core.http_only_cookies': True,
'histomicsui.webroot_path': 'histomics',
'histomicsui.alternate_webroot_path': 'histomicstk',
'histomicsui.delete_annotations_after_ingest': True,
Expand Down
1 change: 1 addition & 0 deletions devops/dsa/provision.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ settings:
worker.api_url: "http://girder:8080/api/v1"
worker.direct_path: True
core.brand_name: "Digital Slide Archive"
# core.http_only_cookies: True
histomicsui.webroot_path: "histomics"
histomicsui.alternate_webroot_path: "histomicstk"
histomicsui.delete_annotations_after_ingest: True
Expand Down

0 comments on commit fa9cc8e

Please sign in to comment.