My App
Self hosting

Configuration

Important self-host environment variables.

Configuration

Start from .env.example.

Important groups:

  • Identity: BETTER_AUTH_SECRET, INTERNAL_API_SECRET, OAuth credentials, SOURCE_CREDENTIAL_ENCRYPTION_KEY.
  • Deployment: DEPLOYMENT_MODE, APP_VERSION, public NEXT_PUBLIC_* URLs.
  • Geospatial: MARTIN_URL, VALHALLA_URL, PELIAS_URL, GLYPHS_URL, ELEVATION_URL, STATIC_MAP_URL.
  • Storage: STORAGE_PROVIDER, local storage paths, S3 settings, R2 settings.
  • Worker: concurrency, outbox polling, DuckDB, Tippecanoe, ogr2ogr, Overture release settings.
  • Managed providers: Dodo Payments and Resend.

On this page