.env.template 908 B

123456789101112131415161718192021222324
  1. # Has to be either development or production
  2. NODE_ENV=development
  3. # Version identifier of the current API spec (needs to be incremented on breaking changes)
  4. API_VERSION=v2
  5. # Gotten from creating a client on https://genius.com/api-clients
  6. GENIUS_ACCESS_TOKEN=
  7. # Default is 8074
  8. HTTP_PORT=8074
  9. # Defaults to 0.0.0.0 (listen on all interfaces)
  10. #HTTP_HOST=
  11. # Whether to trust upstream (reverse) proxies like nginx
  12. TRUST_PROXY=true
  13. # Defaults to true - whether to serve the documentation page
  14. HOST_HOMEPAGE=true
  15. # Whether one of the auth tokens below is required to be able to interact with the API
  16. AUTH_REQUIRED=false
  17. # Comma-separated list of HTTP bearer tokens that are excluded from rate limiting (on geniURL's side)
  18. # If you want to run the unit tests or latency test, at least one token needs to be generated and entered here
  19. # Generate new tokens with `pnpm gen-token [<amount> <length>]`
  20. AUTH_TOKENS=