-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdotenv-sample
More file actions
74 lines (58 loc) · 2.51 KB
/
dotenv-sample
File metadata and controls
74 lines (58 loc) · 2.51 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
# USED BY BOTH AGENT AND CONTROLLER
###################################
# These environment variables are used by both agent and CONTROLLER
# They may be different on agent/controller
# Comma separated list of known backends; default if unset: test,tpp,emis
# NOTE: If using a local job-server, BACKENDS must be a list of backends that are
# valid on the local job-server AND <BACKEND>_JOB_SERVER_TOKEN must be set
# for each of them.
# Here we're assuming we only have one backend, 'test'. Add more depending on your
# local job-server setup.
BACKENDS=test
# A Github developer token that has read access to private repos
PRIVATE_REPO_ACCESS_TOKEN=
# How frequently to poll internal database and Docker for the current state of
# active jobs
JOB_LOOP_INTERVAL=1.0
# USED BY AGENT ONLY
####################
# The name of this backend
BACKEND=test
USING_DUMMY_DATA_BACKEND=True
# The DSN for accessing the database
DEFAULT_DATABASE_URL=mssql+pyodbc://xxxx
# Database in which we can create temporary tables
TEMP_DATABASE_NAME=OPENCoronaTempTables
# Token for authenticating with the controller task api
# This should be the same as TEST_JOB_SERVER_TOKEN (assuming
# the backend for this Agent is "test")
CONTROLLER_TASK_API_TOKEN=pass
# URL for controller task api
CONTROLLER_TASK_API_ENDPOINT=http://localhost:3000/
# USED BY CONTROLLER ONLY
#########################
# Credentials for authenticating Agents
# Note this variable is per-backend i.e. <BACKEND>_JOB_SERVER_TOKEN for each backend
TEST_JOB_SERVER_TOKEN=pass
# Credentials for clients (e.g. job-server) to authenticate with the controller APIs
# This variable is PER BACKEND i.e. <BACKEND>_CLIENT_TOKEN for each backend
# and is a comma-separated list of client tokens that are allowed to access information
# about this backend. These may be duplicated for clients that can request information about
# multiple backends.
# Note: this corresponds to RAP_API_TOKEN in job-server
TEST_CLIENT_TOKENS=rap_token
# Change this to reduce parallelism (per backend)
# Note this variable is per-backend i.e. <BACKEND>_MAX_WORKERS for each backend
# TEST_MAX_WORKERS=
# USED BY CONTROLLER DJANGO APP
###############################
DJANGO_CONTROLLER_SECRET_KEY=secret
DJANGO_CONTROLLER_ALLOWED_HOSTS=*
DJANGO_DEBUG=True
# Telementry #
##############
# Uncomment to see telemetry output in the console (warning: noisy!)
# OTEL_EXPORTER_CONSOLE=1
# Use stable http semantic conventions
# https://github.com/open-telemetry/semantic-conventions/tree/v1.23.0/docs/http
OTEL_SEMCONV_STABILITY_OPT_IN="http"