-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-ohdsi-shiny.yml
34 lines (29 loc) · 1.12 KB
/
config-ohdsi-shiny.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
# Alter these configuration settings for usage with remote databases
connectionDetails:
dbms: "postgresql"
port: 5432
# 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: "shinydbDatabase"
server: "shinydbServer"
user: "shinydbUser"
password: "shinydbPw"
port: "shinydbPort"
extraSettings: ~
tablePrefix: ""
resultsDatabaseSchema: "some_schema"
vocabularyDatabaseSchemas: ["some_schema"]
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