forked from OHDSI/WebAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
27 lines (22 loc) · 1.18 KB
/
Copy path.env.example
File metadata and controls
27 lines (22 loc) · 1.18 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
# TCP address and port Express binds to
EXPRESS_PORT=80
EXPRESS_HOST=0.0.0.0
# TCP port exposed by the container
HTTP_PORT=8080
# Path to the SQLite database file
DB_PATH=/data/webapi.db
# Override Version string reported by GET /info
# WEBAPI_VERSION=2.15.1
# HTTP request header that carries the authenticated username (set by nginx)
WEBAPI_AUTH_HEADER=x-forwarded-user
# JSON array of CDM source definitions.
# Each entry must have at minimum: sourceKey, sourceName, cdmSchema, vocabSchema,
# resultsSchema, tempSchema, and either connectionString or (server + database +
# username + password).
#
# Using a connection string:
# WEBAPI_SOURCES=[{"sourceKey":"cdm1","sourceName":"My CDM","connectionString":"Server=host,1433;Database=cdm;Encrypt=true;","username":"user","password":"pass","cdmSchema":"dbo","vocabSchema":"dbo","resultsSchema":"results","tempSchema":"temp"}]
#
# Using discrete properties:
# WEBAPI_SOURCES=[{"sourceKey":"cdm1","sourceName":"My CDM","server":"host","port":1433,"database":"cdm","username":"user","password":"pass","encrypt":true,"trustServerCertificate":false,"cdmSchema":"dbo","vocabSchema":"dbo","resultsSchema":"results","tempSchema":"temp"}]
WEBAPI_SOURCES=[]