-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add missing config.yaml file (#312)
- Loading branch information
Showing
1 changed file
with
104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
server: | ||
app: | ||
verbose: true | ||
debug: true | ||
host: 0.0.0.0 | ||
port: null | ||
open_browser: false | ||
force_https: false | ||
flask_secret_key: "asd" | ||
generate_cache_control_headers: true | ||
server_timing_headers: true | ||
csp_directives: | ||
img-src: | ||
- https://www.google-analytics.com | ||
script-src: | ||
- https://www.google-analytics.com | ||
- https://ssl.google-analytics.com | ||
- browser.sentry-cdn.com | ||
connect-src: | ||
- https://www.google-analytics.com | ||
- sentry.prod.si.czi.technology | ||
|
||
|
||
# if env == "prod": | ||
# api_base_url = f"https://api.cellxgene.cziscience.com/cellxgene/" | ||
# web_base_url = f"https://cellxgene.cziscience.com/" # Also used for the multi_dataset index page | ||
# data_locator_url = f"https://api.cellxgene.cziscience.com/dp/v1" | ||
# else: | ||
# api_base_url = f"https://api.cellxgene.{env}.single-cell.czi.technology/cellxgene/" | ||
# web_base_url = f"https://cellxgene.{env}.single-cell.czi.technology/" # Also used for the multi_dataset index page | ||
# data_locator_url = f"https://api.cellxgene.{env}.single-cell.czi.technology/dp/v1" | ||
|
||
api_base_url: https://${API_DOMAIN}/cellxgene/ | ||
web_base_url: https://${WEB_DOMAIN}/ | ||
|
||
multi_dataset: | ||
dataroot: | ||
covid19: | ||
base_url: d | ||
dataroot: s3://${CXG_BUCKET_PATH} | ||
corpora_data_portal: | ||
base_url: e | ||
dataroot: s3://${CXG_BUCKET_PATH} | ||
|
||
# The index page when in multi-dataset mode: | ||
# false or null: this returns a 404 code | ||
# true: loads a test index page, which links to the datasets that are available in the dataroot | ||
# string/URL: redirect to this URL: flask.redirect(config.multi_dataset__index) | ||
index: https://${WEB_DOMAIN}/ | ||
|
||
# A list of allowed matrix types. If an empty list, then all matrix types are allowed | ||
allowed_matrix_types: [] | ||
|
||
data_locator: | ||
api_base: https://${DATA_LOCATOR_DOMAIN}/dp/v1 | ||
s3: | ||
# s3 region name. | ||
# if true, then the s3 location is automatically determined from the datapath or dataroot. | ||
# if false/null, then do not set. | ||
# if a string, then use that value (e.g. us-east-1). | ||
region_name: true | ||
|
||
adaptor: | ||
cxg_adaptor: | ||
# The key/values under tiledb_ctx will be used to initialize the tiledb Context. | ||
# If 'vfs.s3.region' is not set, then it will automatically use the setting from | ||
# data_locator / s3 / region_name. | ||
tiledb_ctx: | ||
sm.tile_cache_size: 60129542144 # 56 GB | ||
py.init_buffer_bytes: 536870912 # 512MiB | ||
|
||
limits: | ||
column_request_max: 32 | ||
diffexp_cellcount_max: 1500000 | ||
|
||
dataset: | ||
app: | ||
# Scripts can be a list of either file names (string) or dicts containing keys src, integrity and crossorigin. | ||
# these will be injected into the index template as script tags with these attributes set. | ||
scripts: | ||
- src: "https://browser.sentry-cdn.com/5.15.5/bundle.min.js" | ||
integrity: "sha384-wF7Jc4ZlWVxe/L8Ji3hOIBeTgo/HwFuaeEfjGmS3EXAG7Y+7Kjjr91gJpJtr+PAT" | ||
crossorigin: "anonymous" | ||
|
||
# Inline scripts are a list of file names, where the contents of the file will be injected into the index. | ||
# inline_scripts: | ||
# - rdev-ga.js | ||
# - staging-sentry.js | ||
|
||
about_legal_tos: /tos/ | ||
about_legal_privacy: /privacy/ | ||
|
||
|
||
presentation: | ||
max_categories: 1000 | ||
custom_colors: true | ||
|
||
embeddings: | ||
names: [] | ||
|
||
diffexp: | ||
enable: true | ||
lfc_cutoff: 0.01 | ||
top_n: 10 |