supernomad / quantum

A lightweight, encrypted, WAN oriented, software defined network device.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configuration via CLI + Env + File

supernomad opened this issue · comments

quantum currently has only one method of configuration which is via the cli.

It needs to be configurable via environment variables and via config files. Each of the methods should have access to the same configuration variables, and should be able to mix and match based on the following hierarchy:

  1. Cli
  2. Environment Variable
  3. Config File
  4. Default