-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (36 loc) · 1.49 KB
/
.env.example
File metadata and controls
44 lines (36 loc) · 1.49 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
# Random string for Better Auth encryption. Generated with openssl rand -hex 16
BETTER_AUTH_SECRET=<YourRandomStringHere>
# Deployed URL of the HIVE UI
BETTER_AUTH_URL=http://localhost:5173
ORIGIN=http://localhost:5173
PORT=5173
# Authentication and Authorization toggle
AUTHN_ENABLE=true
AUTHZ_ENABLE=true
AUTHZ_REQUIRED_GROUP=HIVE
# Keycloak configuration
AUTH_KEYCLOAK_ID=<YourKeycloakClientID>
AUTH_KEYCLOAK_SECRET=<YourKeycloakClientSecret>
AUTH_KEYCLOAK_ISSUER=http://localhost:8080/realms/<YourRealmName>
AUTH_KEYCLOAK_SERVICE_USERNAME=<YourServiceUsername>
AUTH_KEYCLOAK_SERVICE_PASSWORD=<YourServicePassword>
# Data storage
ROOT_FOLDER_LOCATION=/path/to/your/local/data/folder
USE_FILE_API=true
FILE_API_URL=http://localhost:8003
DB_URL=sqlite:./exampleData/db/local.db
# Data Catalogue
METACAT_URL=http://localhost:5000
FORWARD_JQ_DIR=https://raw.githubusercontent.com/ukaea/ukaea-metadata/develop/metacat-mapping/hive
BACKWARD_JQ_DIR=https://raw.githubusercontent.com/ukaea/ukaea-metadata/develop/reverse-metacat-mapping/hive
# Airflow - used server-side only for the Run page pipeline trigger and status polling
AIRFLOW_URL=<AirflowURL>
AIRFLOW_DAG_ID=<DAGID>
AIRFLOW_USERNAME=<AirflowUsername>
AIRFLOW_PASSWORD=<AirflowPassword>
AIRFLOW_DIRECTORY=<AirflowDirectory>
AIRFLOW_INPUT_FILE=<AirflowInputFile>
# Set to true to use local file storage only (no remote APIs)
PUBLIC_LOCAL_ONLY=true
# Set to true to enable test mode on the Runs page (uses mock data instead of real APIs)
PUBLIC_RUNS_TEST_MODE=true