-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-dist.env.yaml
More file actions
80 lines (72 loc) · 2.92 KB
/
config-dist.env.yaml
File metadata and controls
80 lines (72 loc) · 2.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# You may use syntax:
# - ARG("some_cli_arg") - to pass CLI var to config
# - ARG("some_cli_arg", "default value") - to pass CLI var to config with default value
# - ENV("some_cli_arg") - to pass ENV var to config
# - ENV("some_cli_arg", "default_value") - to pass ENV var to config with default value
# For example:
#```yaml
# api_url: ENV("api_url")
#```
api_version: 1.0
api_url: ENV("UNISON_API_URL", "https://api.hyperunison.com")
agent_token: ENV("UNISON_API_TOKEN")
idle_delay: 5.0 # delay between requests to Hyperunison backend to get new tasks
check_runs_status_interval: 30.0
sentry_dsn: "" # Generate sentryDSN in https://sentry.io/ and use in here to monitor errors
# may be 0 or 1. If 1 - export files will be uploaded to Unison S3 storage and available for download from Unison platform
# if 0 - no private data will be exported
allow_private_upload_data_to_unison: ENV("UNISON_ALLOW_PRIVATE_DATA_UPLOAD_TO_UNISON", "0")
log:
level: 20 # 10 - debug, 50 - critical. I recommend level=20 for most users
filename: "" #filename or empty for stdout
# endpoint to SQL database with patients phenoenotypic data
phenotypic_db:
# SQLAlchemy format DSN. More details here: https://workshop-python.readthedocs.io/database/sqlalchemy/connection-dsn.html
# examples:
# dsn: "postgresql+psycopg2://myusername:mypassword@myhost:5432/mydatabase"
# dsn: "postgresql+psycopg2://myusername:mypassword@myhost:5432/mydatabase?sslmode=require"
dsn: ENV("UNISON_DSN")
min_count: 1 # Minimum number of unique patients with list of properties to allow system to export this properties
# You may describe data forbidden to access by Runner
data_protected:
schemas: [] # List of protected schemes. For example: ["public", "personal"]
tables: [] # List of protected tables. For example: ["public.participant", "personal.addresses"]
columns: []
pipeline:
file_transfer:
type: k8s
namespace: prod
image: ubuntu:22.04
command: "sleep 3600" # timeout
pod_prefix: "unison-file-transfer"
base_dir: "/data/nextflow/pipelines/dev"
volumes:
volume_name: "/data/nextflow"
labels:
unison: 'yes'
type: '{pod_prefix}'
run_id: '{run_id}'
last_connect: '{last_connect}'
agent_id: '{agent_id}'
executor:
type: k8s
namespace: prod
work_dir: "/data/nextflow/pipelines/dev"
pod_prefix: "unison-dev-worker"
image: '058264135461.dkr.ecr.eu-central-1.amazonaws.com/main:nextflow-dev-latest'
volumes:
volume_name: "/data/nextflow"
labels:
type: '{pod_prefix}'
run_id: '{run_id}'
instance: '{instance}'
last_connect: '{last_connect}'
agent_id: '{agent_id}'
threads:
queues:
cohort:
threads_max_count: 10
timeout: 1800
general:
threads_max_count: 10
timeout: 1800