Skip to main content

Configuration

Environment variables

You can configure the app at runtime using various environment variables:

  • NEXT_EXAMPLE__APIS__ICANHAZDADJOKE__HOST - host of the icanhazdadjoke API (default: icanhazdadjoke.com)
  • NEXT_EXAMPLE__APIS__ICANHAZDADJOKE__PATH - path of the icanhazdadjoke API (default: ``)
  • NEXT_EXAMPLE__APIS__ICANHAZDADJOKE__PORT - port of the icanhazdadjoke API (default: ``)
  • NEXT_EXAMPLE__APIS__ICANHAZDADJOKE__SCHEME - scheme of the icanhazdadjoke API (default: https)
  • NEXT_EXAMPLE__DEBUG - enable debug mode (default: true)
  • NEXT_EXAMPLE__SERVER__HOST - host to run the server on (default: 0.0.0.0)
  • NEXT_EXAMPLE__SERVER__PORT - port to run the server on (default: 3000)