Configuration
This page lists commonly used flags and environment variables for the Server and Workers. Values can be set via CLI flags or environment variables; environment variables are shown in ALL_CAPS.
Server
-
Bind address
- Flag:
--bind-address - Env:
LYFTDATA_BIND_ADDRESS - Default:
127.0.0.1:3000 - Notes: Use
0.0.0.0:3000to accept remote connections in dev/lab setups.
- Flag:
-
Accept EULA non-interactively
- Env:
LYFTDATA_LICENSE_EULA_ACCEPT - Values:
yesto accept on first run
- Env:
-
Staging directory
- Flag:
--staging-dir - Env:
LYFTDATA_STAGING_DIR - Notes: Must be writable by the service account; stores logs and metadata.
- Flag:
-
Log retention (days)
- Flag:
--db-retention-days - Env:
LYFTDATA_LOG_RETENTION_DAYS - Default:
30
- Flag:
-
Disk usage threshold (%)
- Flag:
--disk-usage-max-percentage - Env:
LYFTDATA_DB_DISK_USE_MAX_PERCENT - Default:
80
- Flag:
Worker
-
Server URL
- Env:
LYFTDATA_URL - Example:
http://localhost:3000
- Env:
-
Worker ID and API key (API‑key auth)
- Env:
LYFTDATA_WORKER_ID,LYFTDATA_WORKER_API_KEY
- Env:
-
Auto‑enrollment (optional)
- Env:
LYFTDATA_AUTO_ENROLLMENT_KEY,LYFTDATA_WORKER_NAME - Notes: Use only on trusted networks. See Worker authentication.
- Env:
Notes
- Prefer setting secrets via environment files managed by your service manager.
- Keep ports firewalled to trusted networks; see Security hardening.
- For troubleshooting and quick checks, see Troubleshooting.