-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
65 lines (58 loc) · 3.02 KB
/
.env.sample
File metadata and controls
65 lines (58 loc) · 3.02 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
# The base path of the application
VITE_BASE_PATH=/nova/
# Django debug setting (https://docs.djangoproject.com/en/5.1/ref/settings/#debug)
DEBUG=true
# Key used to encrypt/decrypt refresh tokens.
# Run cryptography.Fernet.generate_key().decode() and place it here!
REFRESH_TOKEN_KEY=
# Django secret key, used to sign secrets that Django generates (e.g. session IDs and CSRF tokens)
SECRET_KEY=extremely-insecure-key
# Allows OAuth to work over HTTP. This is insecure and should only be used for local development.
OAUTHLIB_INSECURE_TRANSPORT=1
# Allows OAuth to work with scopes that are not explicitly requested by the client.
# This is currently necessary in order to get a Refresh Token if using Microsoft Azure as a provider.
OAUTHLIB_RELAX_TOKEN_SCOPE=1
# The number of seconds before a user's session expires. Defaults to two weeks.
SESSION_COOKIE_AGE=1209600
# Settings for mocking login locally
VITE_MOCK_USER_EMAIL=youremailhere
VITE_MOCK_USER_API_KEY=yourapikeyhere
# Galaxy/NOVA settings
VITE_DASHBOARD_TITLE="NOVA Dashboard"
# The URL of the Galaxy instance to connect to.
# VITE_GALAXY_URL exposes the URL to the front-end, which is used to build the Galaxy login URL.
GALAXY_URL=https://ndip-test.ornl.gov
VITE_GALAXY_URL=https://ndip-test.ornl.gov
# Galaxy will contain many tools that can't be run through the dashboard. Only tool IDs beginning with this prefix will appear.
TOOL_PREFIX=nova
# The ID of a tool that will always fail for testing error states.
TEST_TOOL_ID=neutrons_remote_command
# The URL of the changelog for the dashboard.
VITE_CHANGELOG_URL=https://code.ornl.gov/ndip/nova-dashboard/-/blob/main/CHANGELOG.md
# The alias of the Galaxy instance.
VITE_GALAXY_ALIAS=NDIP
# The alias for NOVA. Note that this won't change the attribution as that refers to the original project and funding.
VITE_NOVA_ALIAS=NOVA
VITE_NOVA_DOCS_URL=https://nova-application-development.readthedocs.io/en/latest/
VITE_NOVA_TUTORIAL_URL=https://nova.ornl.gov/tutorial
VITE_GALAXY_DOCS_URL=https://calvera.ornl.gov/docs/admin_guide/services/dashboard/
VITE_GALAXY_PROJECT_URL=https://galaxyproject.org/
# The Galaxy login URL.
VITE_LOGIN_URL=http://localhost:8081/login/start?redirect=http://localhost:8081
# The name of the Galaxy history to use when launching jobs.
GALAXY_HISTORY_NAME=launcher_history
# Status monitoring configuration
# The alert environments to display (all others will be ignored).
ALERTS_ENVIRONMENTS='["ndip", "ndip-test", "prod", "test"]'
# The alert monitoring endpoint format. prometheus is the only supported option currently.
ALERTS_FORMAT=prometheus
# The endpoint to send admins to when viewing alert details
MONITORING_URL=http://your_prometheus_server/alerts
# The endpoint for checking currently active alerts
ALERTS_URL=http://your_prometheus_server/api/v1/alerts
# The endpoint for checking all possible alerts
TARGETS_URL=http://your_prometheus_server/api/v1/targets
# Issue reporting settings
GITLAB_ISSUES_API_ENDPOINT=https://code.ornl.gov/api/v4/projects/20733/issues
GITLAB_ACCESS_TOKEN=secret
VITE_SUPPORT_EMAIL=ndip@ornl.gov