bayard-rest

DESCRIPTION

Bayard REST server

USAGE

bayard-rest [OPTIONS]

FLAGS

  • -h, --help
         Prints help information.

  • -v, --version
         Prints version information.

OPTIONS

  • -H, --host <HOST>
         Hostname or IP address. [default: 0.0.0.0]

  • -p, --port <PORT>
         HTTP service port number. [default: 8000]

  • -i, --index-address <ADDRESS>
         Index service address. [default: 0.0.0.0:5000]

  • -c, --cert-file <PATH>
         Path to the TLS certificate file.

  • -k, --key-file <PATH>
         Path to the TLS key file.

EXAMPLES

To start a server with default options:

$ bayard --host=192.168.1.22 \
         --port=8001 \
         --index-address=192.168.1.12:5001