-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
37 lines (32 loc) · 1.12 KB
/
config.yml
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
# Alter these configuration settings for usage with remote databases
connectionDetails:
dbms: "sqlite"
server: "data/MergedCohortDiagnosticsData.sqlite"
user: ""
password: ""
port: ""
# Store connection details as a json string in keyring
# Store with keyring::key_set_with_value("KEYNAME", jsonlite::toJSON(myConnectionDetails))
connectionDetailsSecureKey: ~
# store connection details with environment variables
# Note - if dbms and port vars are unset in environment variables they will default to above connectionDetails settings
connectionEnvironmentVariables:
dbms: ~
database: ~
server: ~
user: ~
password: ~
port: ~
extraSettings: ~
tablePrefix: ""
resultsDatabaseSchema: "main"
vocabularyDatabaseSchemas: ["main"]
cohortTableName: "cohort"
databaseTableName: "database"
enableAnnotation: TRUE
enableAuthorization: TRUE
### if you need a way to authorize users
### generate hash using code like digest::digest("diagnostics",algo = "sha512")
### store in external file called UserCredentials.csv - with fields userId, hashCode
### place the file in the root folder
userCredentialsFile: UserCredentials.csv