Environment variables

Environment variables read by the configuration loader and runtime.

VariablePurpose
GAET_LOCAL_URLFull local PostgreSQL connection URL
GAET_LOCAL_DB_HOSTLocal host or socket path, default 127.0.0.1
GAET_LOCAL_DB_PORTLocal PostgreSQL port, default 5432
GAET_LOCAL_DB_USERLocal database username, default postgres
GAET_LOCAL_DB_NAMELocal database name, default postgres
GAET_LOCAL_DB_PASSLocal PostgreSQL password
GAET_REMOTE_URLRemote PostgreSQL connection URL
GAET_SUPABASE_URLLegacy fallback for the remote URL
GAET_REMOTE_SSLMODERemote SSL mode: require, verify-full, or disable; runtime fallback is prefer
GAET_RETENTION_DAYSLocal dump retention, default 7 days
GAET_TIMEOUTBase timeout, default 900 seconds
GAET_TIMEOUT_PER_GBExtra timeout per GB, default 300 seconds
GAET_PG_TIMEOUTLegacy fallback for GAET_TIMEOUT
GAET_PG_TIMEOUT_PER_GBLegacy fallback for GAET_TIMEOUT_PER_GB
GAET_TABLESComma-separated table filter
GAET_AUTO_BACKUP_HOURSScheduler interval in hours, default 6
GAET_DASHBOARD_PORTDashboard port, default 6161
GAET_SERVICE_PREFIXScheduler service name prefix, default gaet
GAET_DIROverride the ~/.gaet data directory
GAET_APP_DIROverride the application bundle directory

Precedence

Process environment variables take priority over values stored in ~/.gaet/.env. The configuration schema shown by gaet get --list covers the connection, retention, and timeout keys; scheduler and path variables are read at runtime and may not appear in that list.

Inspect current values

gaet get --list
gaet get GAET_REMOTE_URL
gaet export

gaet export prints the loaded environment as shell export statements.