Documentation ¶
Overview ¶
The command filestore starts an HTTP server with a filestore.
Usage:
$ filestore -h Usage of filestore: -http string HTTP address (default ":5000") -maxmsgsize int Maximum size of a received web socket message (default 32768) -path string path to directory where files are stored (default "/var/stratumn/filestore") -tlscert string TLS certificate file -tlskey string TLS private key file -wspinginterval duration Interval between web socket pings (default 54s) -wspongtimeout duration Timeout for a web socket expected pong (default 1m0s) -wsreadbufsize int Web socket read buffer size (default 1024) -wswritebufsize int Web socket write buffer size (default 1024) -wswritechansize int Size of a web socket connection write channel (default 256) -wswritetimeout duration Timeout for a web socket write (default 10s)
Docker ¶
A Docker image is available. To create a container, run:
$ docker run -p 5000:5000 stratumn/filestore
Click to show internal directories.
Click to hide internal directories.