achirkin / qua-kit

Quick Urban Analysis Kit
MIT License
17 stars 8 forks source link

Helen: configuration files #58

Closed achirkin closed 6 years ago

achirkin commented 7 years ago

At this moment helen configuration is spread in different places, and is not really usable. We need to put all the configs in a single place. We need to make sure helen runs robustly; thus, it is rather big task.

File: helen-config.yaml, overridden by default (embeded) empty configuration. Example:

general:
  host: ip address
  port: 7654
  loglevel: warn
  logfile: filename.log (if not specified, send logs to std)
  service-restart-attempts: 10

trusted-clients:
  - 127.0.0.1
  - 129.132.32.138
  - ...

bundled-services:
  - siren:
      executable: siren.exe
      args: ...
  - another-service:
      executable: its-exe.exe
      args: cool-arg=4 ...
NorfairKing commented 7 years ago

Thanks for assigning me, this looks fun!

achirkin commented 6 years ago

Looks good, thanks!