Skip to main content
Version: 1.3.x

Hauler Store Serve Fileserver

Overview​

hauler store serve fileserver serves the fileserver.

An example with available flags...

hauler store serve fileserver --port <port> --timeout <timeout> --tls-cert <cert> --tls-key <key>

Command Overview​

Usage:
hauler store serve fileserver [flags]

Flags:
--directory string (Optional) Directory to use for backend. Defaults to $PWD/fileserver (default "fileserver")
-h, --help help for fileserver
-p, --port int (Optional) Set the port to use for incoming connections (default 8080)
-t, --timeout int (Optional) Timeout duration for HTTP Requests in seconds for both reads/writes (default 60)
--tls-cert string (Optional) Location of the TLS Certificate to use for server authenication
--tls-key string (Optional) Location of the TLS Key to use for server authenication

Global Flags:
-d, --haulerdir string Set the location of the hauler directory (default $HOME/.hauler)
--ignore-errors Ignore/Bypass errors (i.e. warn on error) (defaults false)
-l, --log-level string Set the logging level (i.e. info, debug, warn) (default "info")
-r, --retries int Set the number of retries for operations (default 3)
-s, --store string Set the directory to use for the content store

Example Commands for the Hauler Fileserver​

# serve fileserver
hauler store serve fileserver

# serve fileserver on specific port
hauler store serve fileserver --port <port>