Skip to content

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:3000 to accept remote connections in dev/lab setups.
  • Accept EULA non-interactively

    • Env: LYFTDATA_LICENSE_EULA_ACCEPT
    • Values: yes to accept on first run
  • Staging directory

    • Flag: --staging-dir
    • Env: LYFTDATA_STAGING_DIR
    • Notes: Must be writable by the service account; stores logs and metadata.
  • Log retention (days)

    • Flag: --db-retention-days
    • Env: LYFTDATA_LOG_RETENTION_DAYS
    • Default: 30
  • Disk usage threshold (%)

    • Flag: --disk-usage-max-percentage
    • Env: LYFTDATA_DB_DISK_USE_MAX_PERCENT
    • Default: 80

Worker

  • Server URL

    • Env: LYFTDATA_URL
    • Example: http://localhost:3000
  • Worker ID and API key (API‑key auth)

    • Env: LYFTDATA_WORKER_ID, LYFTDATA_WORKER_API_KEY
  • Auto‑enrollment (optional)

    • Env: LYFTDATA_AUTO_ENROLLMENT_KEY, LYFTDATA_WORKER_NAME
    • Notes: Use only on trusted networks. See Worker authentication.

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.