Skip to content

Commit

Permalink
updated config template
Browse files Browse the repository at this point in the history
  • Loading branch information
krokicki committed Aug 19, 2024
1 parent 7d42e71 commit aa1a060
Showing 1 changed file with 28 additions and 15 deletions.
43 changes: 28 additions & 15 deletions config.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,50 @@
#base_url: https://yourdomain.org

#
# The list of target storage locations to proxy.
# Loguru logging level (ERROR, WARNING, INFO, DEBUG, TRACE)
#
targets:
log_level: INFO

#
# Examples showing an AWS bucket configured in various ways
#
#--------------------------------------------------------------------------------------
# The list of target storage locations to serve
#--------------------------------------------------------------------------------------
targets:

#
# The 'file' client serves data from any local file path
#
- name: local_files
client: file
options:
root: .

#
# Exposes s3://janelia-cosem-datasets at /cosem-data
#
- name: cosem-data
bucket: janelia-cosem-datasets

#
# Exposes s3://janelia-cosem-datasets/aic_desmosome-1 at /cosem-data-with-prefix
#
- name: cosem-data-with-prefix
bucket: janelia-cosem-datasets
prefix: aic_desmosome-1

#
# Exposes s3://janelia-cosem-datasets at /cosem-data-hidden but makes it unbrowseable
#
- name: cosem-data-hidden
bucket: janelia-cosem-datasets
hidden: true


# To serve data from a private bucket, you must configure an access key and secret key as
# demonstrated below. This example also shows how to use a custom endpoint.
#
# - name: multifish
# endpoint: https://s3.us-east-1.lyvecloud.seagate.com/
# bucket: multifish
# credentials:
# accessKeyPath: './var/lyve_access_key'
# secretKeyPath: './var/lyve_secret_key'

# To serve data from a private bucket, you must configure an access key and secret key as
# demonstrated below. This example also shows how to use a custom endpoint.
#
#- name: multifish
# endpoint: https://s3.us-east-1.lyvecloud.seagate.com/
# bucket: multifish
# credentials:
# accessKeyPath: './var/lyve_access_key'
# secretKeyPath: './var/lyve_secret_key'

0 comments on commit aa1a060

Please sign in to comment.