-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env-sample
158 lines (129 loc) · 5.12 KB
/
.env-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
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# express.js application configuration
SERVER_PORT=8090
ROOT_ADDRESS=http://localhost:8090
# the maximum size in megabytes of request bodies sent to Deep Lynx
# requests with payloads over this limit will return a 413 note that
# this does not apply to file size, only raw body size
MAX_REQUEST_BODY_SIZE=50
# there are various processes that look for other compiled typescript files
PROJECT_DIR=./dist
# whether or not to use the server instance to also manage the jobs
RUN_JOBS=true
# comma separated CORs origins, defaults to *
CORS_ORIGIN=
# valid options are blank (defaults to memory), memory, or redis
CACHE_PROVIDER=memory
# default time in seconds
CACHE_DEFAULT_TTL=21600
# redis connection string - e.g redis://user:password@redis-service.com:6379/
CACHE_REDIS_CONNECTION_STRING=
CACHE_GRAPHQL=true
# this controls the import id caching on staging data emission and processing, only change
# if you know what you're doing - in seconds
INITIAL_IMPORT_CACHE_TTl=21600
IMPORT_CACHE_TTL=30
# email specific variables, controls the reset password/email validation/ links etc.
# the URLs should refer to your UI implementation's reset password, email validation, and container invite pages
EMAIL_ADDRESS=do+not+reply@deeplynx.org
EMAIL_ENABLED=false
EMAIL_VALIDATION_ENFORCED=false
CONTAINER_INVITE_URL=http://localhost:8080/container-invite
# debug,info,warn,error,silent
LOG_LEVEL=debug
LOG_JOBS=false
# should be in the format postgresql://user:password@hostname:port/database_name
# :port is optional and if included will usually be :5432
CORE_DB_CONNECTION_STRING=postgresql://postgres:deeplynxcore@localhost/deep_lynx
TIMESCALEDB_ENABLED=false
# this must be an absolute path to a RSA private key - if one is not provided it will be generated and saved for you at
# the project root
ENCRYPTION_KEY_PATH=
# plaintext secret used to generate secure session markers
SESSION_SECRET=
# controls which file storage method to use, possible values are azure_blob, filesystem, and largeobject
FILE_STORAGE_METHOD=largeobject
# must end with a directory character (e.g. "/")
FILESYSTEM_STORAGE_DIRECTORY=
AZURE_BLOB_CONNECTION_STRING=
AZURE_BLOB_CONTAINER_NAME=
# controls how many records a data source can insert into the database in a single transaction
DATA_SOURCE_RECEIVE_BUFFER=1000
# controls how often the data source job is ran
DATA_SOURCE_PROCESSING_INTERVAL=1m
# controls how many data sources can run their processing loops at once
DATA_SOURCE_PROCESSING_CONCURRENCY=4
DATA_SOURCE_PROCESSING_BATCH_SIZE=1000
# specify the queue name for Data Sources, default = 'data_sources'
DATA_SOURCES_QUEUE_NAME=
# specify the queue name for Data Targets, default = 'data_targets'
DATA_TARGETS_QUEUE_NAME=
# controls how often the export data job is ran
EXPORT_INTERVAL=10m
# controls how many exports can occur at once
EXPORT_DATA_CONCURRENCY=4
# controls which queue system to use, possible values are database, rabbitmq and azure_service_bus
QUEUE_SYSTEM=database
# RabbitMQ connection string
RABBITMQ_URL=
# Azure Service Bus connection string
AZURE_SERVICE_BUS_CONNECTION_STRING=
# queue names
PROCESS_QUEUE_NAME=process
DATA_SOURCES_QUEUE_NAME=data_sources
EVENTS_QUEUE_NAME=events
EDGE_INSERTION_QUEUE_NAME=edge_insertion
EDGE_INSERTION_BACKOFF_MULTIPLIER=5
EDGE_INSERTION_MAX_RETRY=10
# controls whether or not Deep Lynx should emit data events
EMIT_EVENTS=true
# whether or not to create a superuser on initial boot, along with the values
# for its email and password - password will be encrypted prior to storage
INITIAL_SUPERUSER=true
SUPERUSER_EMAIL=admin@admin.com
SUPERUSER_PASSWORD=admin
# these settings are needed for the admin web gui build that takes place as part of DeepLynx
VUE_APP_BUNDLED_BUILD=true
VUE_APP_TIME_SERIES_ENABLED=false
VUE_APP_DEEP_LYNX_API_URL=http://localhost:8090
VUE_APP_DEEP_LYNX_API_AUTH_METHOD=token
VUE_APP_APP_URL=http://localhost:8090/#
# if you are bundling the web app, you must set a unique ID in order for DeepLynx to recognize the internal admin web app
# when it attempts to authenticate against the program, we recommend at least 15 random alphanumeric characters, and not
# a recognizable name - at no point will a user see this information
VUE_APP_DEEP_LYNX_APP_ID=root
# while you can set basic, note that the session functionality will not work. Leaving this blank
# will remove all authentication methods
# possible values: token, basic, (leave blank for no auth)
AUTH_STRATEGY=token
BASIC_USER=
BASIC_PASSWORD=
SAML_ENABLED=false
# SAML 2.0 entry point URL
SAML_ADFS_ENTRY_POINT=
# Application (Client) ID
SAML_ADFS_ISSUER=
# Application callback route, registered with Identity provider beforehand
SAML_ADFS_CALLBACK=
# Self signed certificate private key (.key file)
SAML_ADFS_PRIVATE_CERT_PATH=
# x509 certificate extracted from ADFS metadata file
SAML_ADFS_PUBLIC_CERT_PATH=
SAML_ADFS_CLAIMS_EMAIL=
SAML_ADFS_CLAIMS_NAME=
# SMTP Mail server specific settings
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_HOST=
SMTP_PORT=25
SMTP_TLS=true
# SMTP OAuth2 settings
SMTP_CLIENT_ID=
SMTP_CLIENT_SECRET=
SMTP_REFRESH_TOKEN=
SMTP_ACCESS_TOKEN=
# RSA Server settings
RSA_URL=
RSA_CLIENT_KEY=
RSA_CLIENT_ID=
# Email for the authorized HPC user to access tasks
HPC_EMAIL=