aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-05-15 00:43:37 -0700
committerchrislu <chris.lu@gmail.com>2022-05-15 00:43:37 -0700
commit29198720f22ddb4cf3c594d53564ae7e4e6c3253 (patch)
treedd1d6e4a68d237a08f0d5147f7f2f4df949ba9be /weed/command/filer.go
parent735038b2c1b3c8402605603e70d3741d07d0d195 (diff)
downloadseaweedfs-29198720f22ddb4cf3c594d53564ae7e4e6c3253.tar.xz
seaweedfs-29198720f22ddb4cf3c594d53564ae7e4e6c3253.zip
s3: add grpc server to accept configuration changes
Diffstat (limited to 'weed/command/filer.go')
-rw-r--r--weed/command/filer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index 0935feb76..42de11f08 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -86,6 +86,7 @@ func init() {
// start s3 on filer
filerStartS3 = cmdFiler.Flag.Bool("s3", false, "whether to start S3 gateway")
filerS3Options.port = cmdFiler.Flag.Int("s3.port", 8333, "s3 server http listen port")
+ filerS3Options.portGrpc = cmdFiler.Flag.Int("s3.port.grpc", 0, "s3 server grpc listen port")
filerS3Options.domainName = cmdFiler.Flag.String("s3.domainName", "", "suffix of the host name in comma separated list, {bucket}.{domainName}")
filerS3Options.tlsPrivateKey = cmdFiler.Flag.String("s3.key.file", "", "path to the TLS private key file")
filerS3Options.tlsCertificate = cmdFiler.Flag.String("s3.cert.file", "", "path to the TLS certificate file")