Files
fn-serverless/docs/options.md
Travis Reeder 4421c151c5 Docs on writing functions and the functions format. (#203)
* WIP on writing functions and the functions format.

* Added more docs on writing functions.

* Running on windows docs.

* Linked README to writing.md

* Minor fixes from PR feedback.
2016-11-03 10:53:36 -07:00

1.1 KiB

IronFunctions Configuration Options

When starting IronFunctions, you can pass in the following configuration variables as environment variables. Use -e VAR_NAME=VALUE in docker run. For example:

docker run -e VAR_NAME=VALUE ...
Env Variables Description
DB The database URL to use in URL format. See Databases below for more information. Default: BoltDB in current working directory `bolt.db`.
MQ The message queue to use in URL format. See Message Queues below for more information. Default: BoltDB in current working directory `queue.db`.
API_URL The primary functions api URL to pull tasks from (the address is that of another running functions process).
PORT Default (8080), sets the port to run on.
NUM_ASYNC The number of async runners in the functions process (default 1).
LOG_LEVEL Set to `DEBUG` to enable debugging. Default is INFO.