Skip to content

Tool for generating supervisord configurations from Rhasspy profile

License

Notifications You must be signed in to change notification settings

rhasspy/rhasspy-supervisor

Repository files navigation

Rhasspy Supervisor

Continous Integration PyPI package version Python versions GitHub license

Generates a supervisord configuration from a Rhasspy profile.

Requirements

  • Python 3.7

Installation

$ git clone https://github.com/rhasspy/rhasspy-supervisor
$ cd rhasspy-supervisor
$ ./configure
$ make
$ make install

Running

$ bin/rhasspy-supervisor <ARGS>

Command-Line Options

usage: rhasspysupervisor [-h] --profile PROFILE
                         [--system-profiles SYSTEM_PROFILES]
                         [--user-profiles USER_PROFILES]
                         [--supervisord-conf SUPERVISORD_CONF]
                         [--docker-compose DOCKER_COMPOSE]
                         [--local-mqtt-port LOCAL_MQTT_PORT] [--debug]

optional arguments:
  -h, --help            show this help message and exit
  --profile PROFILE, -p PROFILE
                        Name of profile to load
  --system-profiles SYSTEM_PROFILES
                        Directory with base profile files (read only,
                        default=bundled)
  --user-profiles USER_PROFILES
                        Directory with user profile files (read/write,
                        default=$HOME/.config/rhasspy/profiles)
  --supervisord-conf SUPERVISORD_CONF
                        Name of supervisord configuration file to write in
                        profile (default: supervisord.conf)
  --docker-compose DOCKER_COMPOSE
                        Name of docker-compose YAML file to write in profile
                        (default: docker-compose.yml)
  --local-mqtt-port LOCAL_MQTT_PORT
                        Port to use for internal MQTT broker (default: 12183)
  --debug               Print DEBUG message to console