Skip to main content

NoETL Environment Variables

This document provides a comprehensive list of environment variables supported by NoETL.

Server Configuration

VariableDescriptionDefault Value
NOETL_HOSTHost address for the NoETL serverlocalhost
NOETL_PORTPort for the NoETL server8080
NOETL_ENABLE_UIEnable or disable the UI componentstrue
LOG_LEVELLogging level (INFO, DEBUG, WARNING, ERROR)INFO
NOETL_DATA_DIRDirectory for NoETL data filesdata

Database Configuration

NoETL supports two sets of database configuration variables. The application will first try to use the NOETL_* variables, and if not available, it will fall back to the POSTGRES_* variables.

NoETL-specific Database Variables

VariableDescriptionDefault Value
NOETL_USERUsername for NoETL database connectionnoetl
NOETL_PASSWORDPassword for NoETL database connectionnoetl
NOETL_SCHEMASchema for NoETL database connectionnoetl

PostgreSQL Database Variables

VariableDescriptionDefault Value
POSTGRES_USERUsername for PostgreSQL database connectionnoetl
POSTGRES_PASSWORDPassword for PostgreSQL database connectionnoetl
POSTGRES_DBDatabase name for PostgreSQL connectionnoetl
POSTGRES_HOSTHost address for PostgreSQL serverlocalhost
POSTGRES_PORTPort for PostgreSQL server5432
POSTGRES_SCHEMASchema for PostgreSQL database connectionpublic

Google Cloud Configuration

VariableDescription
GOOGLE_CLOUD_PROJECTGoogle Cloud project ID
SERVICE_ACCOUNT_EMAILService account email for Google Cloud
GOOGLE_APPLICATION_CREDENTIALSPath to Google Cloud service account credentials file
GOOGLE_SECRET_POSTGRES_PASSWORDSecret Manager path for PostgreSQL password
GOOGLE_SECRET_API_KEYSecret Manager path for API key
GCS_ENDPOINTGoogle Cloud Storage endpoint
GCS_REGIONGoogle Cloud region

Other Configuration

VariableDescriptionDefault Value
TZTimezoneAmerica/Chicago
PYTHONPATHPython module search path/opt/noetl
JUPYTER_TOKENToken for Jupyter notebook authenticationnoetl
VITE_API_BASE_URLBase URL for API calls from the UI/api
NOETL_RUNTIME_SWEEP_INTERVALSeconds between runtime sweeper iterations15
NOETL_RUNTIME_OFFLINE_SECONDSSeconds after last heartbeat to mark runtime offline60

Usage in Kubernetes

In Kubernetes deployments, these environment variables are set in the ConfigMap and Secret resources:

  • noetl-configmap.yaml: Contains non-sensitive configuration
  • noetl-secret.yaml: Contains sensitive information like passwords

The deployment uses these environment variables to configure the NoETL server and its connections to the database.