Skip to main content

Configuration

Environment variables

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

  • CROCUS__APIS__ICANHAZDADJOKE__HOST - host of the icanhazdadjoke API (default: icanhazdadjoke.com)
  • CROCUS__APIS__ICANHAZDADJOKE__PATH - path of the icanhazdadjoke API (default: ``)
  • CROCUS__APIS__ICANHAZDADJOKE__PORT - port of the icanhazdadjoke API (default: ``)
  • CROCUS__APIS__ICANHAZDADJOKE__SCHEME - scheme of the icanhazdadjoke API (default: https)
  • CROCUS__APIS__SCORPION__HOST - host of the scorpion API (default: localhost)
  • CROCUS__APIS__SCORPION__PATH - path of the scorpion API (default: ``)
  • CROCUS__APIS__SCORPION__PORT - port of the scorpion API (default: 20001)
  • CROCUS__APIS__SCORPION__SCHEME - scheme of the scorpion API (default: http)
  • CROCUS__DEBUG - enable debug mode (default: true)
  • CROCUS__SECRETS__SHARED - shared secret for the app containing 32 characters (default: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX)
  • CROCUS__SERVER__HOST - host to run the server on (default: 0.0.0.0)
  • CROCUS__SERVER__PORT - port to run the server on (default: 20020)
  • CROCUS__URLS__ORCHID__HOST - host of the public URL of the orchid app (default: localhost)
  • CROCUS__URLS__ORCHID__PATH - path of the public URL of the orchid app (default: ``)
  • CROCUS__URLS__ORCHID__PORT - port of the public URL of the orchid app (default: 20120)
  • CROCUS__URLS__ORCHID__SCHEME - scheme of the public URL of the orchid app (default: http)