philips-labs / siderite

companion tool to make interacting with Iron.io more pleasant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow apps to leverage CONFIG_FILE

tonb opened this issue · comments

iron.io offers the ability to associated config files with code. This would allow for a clean way to pass additional configuration to a task (e.g., change the logging level without a re-deployment).

For this to work, the CONFIG_FILE environment variable must be exposed to the application. It is unclear if this is currently the case.

Update: The environment variable is already passed to the app! I found it to be CONFIG_FILE=/mnt/task/config.
So no code changes necessary.