cells config set
./cells config set
Store a configuration
Synopsis
Store a configuration. Will be stored in both your pydio.json file and in the database.
Syntax
Configurations are represented by three parameters that you must pass as arguments : - serviceName: name of the corresponding service - configName: name of the parameter - configValue: json-encoded value of the parameter you want to set/change
Examples
Change the port of micro.web service (rest api) $ ./cells config set micro.web port 8083
Json parameter value $ ./cells config set pydio.grpc.yourservice configName '{"key":"value"}'
./cells config set [flags]
Options
-h, --help help for set
Options inherited from parent commands
--broker string Pub/sub service for events between services (currently nats only) (default "nats")
--broker_address string Broker port (default ":4222")
--enable_metrics Instrument code to expose internal metrics
--enable_pprof Enable pprof remote debugging
--fork Used internally by application when forking processes
--grpc_cert string Certificates used for communication via grpc
--grpc_external string External port exposed for gRPC (may be fixed if no SSL is configured or a reverse proxy is used)
--grpc_key string Certificates used for communication via grpc
--log string Sets the log level mode (default "info")
--registry string Registry used to manage services (currently nats only) (default "nats")
--registry_address string Registry connection address (default ":4222")
--registry_cluster_address string Registry cluster address (default ":5222")
--registry_cluster_routes string Registry cluster routes
--transport string Transport protocol for RPC (default "grpc")
--transport_address string Transport protocol port (default ":4222")
SEE ALSO
- ./cells config - Configuration manager