forked from opensafely-core/job-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dotenv-sample
47 lines (35 loc) · 1.42 KB
/
dotenv-sample
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
# The name of this backend
BACKEND=tpp
# The endpoint to poll for jobs
JOB_SERVER_ENDPOINT=https://jobs.opensafely.org/jobs/
# Credentials for logging into the job server
JOB_SERVER_TOKEN=pass
# A location where cohort CSVs (one row per patient) should be
# stored. This folder must exist.
HIGH_PRIVACY_STORAGE_BASE=/home/opensafely/high_security
# Or in Windows:
# HIGH_PRIVACY_STORAGE_BASE=/e/Users/opensafely/high_security
# A location where script outputs (some for publication) should be
# stored
MEDIUM_PRIVACY_STORAGE_BASE=/tmp/outputs/medium_security
# A Github developer token that has read access to private repos
PRIVATE_REPO_ACCESS_TOKEN=xxxx
# A database containing dummy data; results from this could be freely
# published without review
DUMMY_DATABASE_URL=mssql+pyodbc://xxxx
# A database containing a slice of the full data; useful for checking
# or debuggin real data without potentially having to wait for hours
# for completion
SLICE_DATABASE_URL=mssql+pyodbc://xxxx
# The full database
FULL_DATABASE_URL=mssql+pyodbc://xxxx
# Database in which we can create temporary tables
TEMP_DATABASE_NAME=OPENCoronaTempTables
# How frequently to poll the job-server to pick up new JobRequests and post
# updates to Jobs
POLL_INTERVAL=5
# How frequently to poll internal database and Docker for the current state of
# active jobs
JOB_LOOP_INTERVAL=1.0
# Default is number of CPUs minus one. Change this to reduce parallelism
MAX_WORKERS=