-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.env.example
50 lines (37 loc) · 2.03 KB
/
.env.example
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
# All environmental variables are optional. The associated settings can be
# updated at runtime. These merely provide defaults at import time.
# These are used in the web_monitoring.db module.
# They can point to a local deployment of web-monitoring-db (as in this
# example) or to the production deployment.
export WEB_MONITORING_DB_URL="http://localhost:3000"
export WEB_MONITORING_DB_EMAIL="[email protected]"
export WEB_MONITORING_DB_PASSWORD="PASSWORD"
export WEB_MONITORING_APP_ENV="development" # or production or test
# These are used in test_html_diff
export WEB_MONITORING_DB_STAGING_URL="https://api-staging.monitoring.envirodatagov.org"
export WEB_MONITORING_DB_STAGING_EMAIL=""
export WEB_MONITORING_DB_STAGING_PASSWORD=""
# Diff-Related variables --------------------------
# Set the diffing server to debug mode. Returns tracebacks in error responses
# and auto-reloads the server when source files change.
export DIFFING_SERVER_DEBUG="False"
# Allow CORS requests. If set, the value will be used as the
# `ACCESS_CONTROL_ALLOW_ORIGIN` header in HTTP responses.
export ACCESS_CONTROL_ALLOW_ORIGIN_HEADER="*"
# Maximum diffable body size, in bytes.
export DIFFER_MAX_BODY_SIZE='10485760' # 10 MB
# Use Tornado's "simple" HTTP client to get diffable content. By default, the
# diff server uses a cURL-based client, which is faster and more robust.
# export USE_SIMPLE_HTTP_CLIENT='true'
# The diff server does not normally validate SSL certificates when requesting
# pages to diff. If this is set to "true", diff requests will fail if upstream
# https:// requests have invalid certificates.
# export VALIDATE_TARGET_CERTIFICATES="false"
# These CSS color values are used to set the colors in html_diff_render, differs and links_diff
# export DIFFER_COLOR_INSERTION="#4dac26"
# export DIFFER_COLOR_DELETION="#d01c8b"
# Set how many diffs can be run in parallel.
# export DIFFER_PARALLELISM=10
# Uncomment to enable logging. Set the level as any normal level.
# https://docs.python.org/3.6/library/logging.html#logging-levels
# export LOG_LEVEL=INFO