Services Register

Registers a new service into the local manifest

beam services register [options]

About

Registers a new service into the local manifest

Options

NameTypeDescription
--idStringThe Unique Id for this service within this Beamable CLI context
--typeNullable`1The type of protocol this service implements: HttpMicroservice,EmbeddedMongoDb
--depsString[]The ','-separated list of existing Beam-O Ids that this service depends on
--local-build-contextStringThe path to a valid docker build context with a Dockerfile in it
--local-dockerfileStringThe relative file path, from the given build-context, to a valid Dockerfile inside that context
--local-logNullable`1The log level this service should be deployed locally with
--local-health-endpointString[]The health check endpoint and port, with no trailing or heading '/', that determines if application is up.
Example: --local-health-endpoint health 6565
--local-hot-reloadingString[]In order, (1, 2) an endpoint and port, with no trailing or heading '/', that determines if the server is set up for hot-reloading.

(3) the relative path, with no trailing or heading '/', to where the source files to watch are.
(4) the in-container path where the container expects the source files to be in order to support hot-reloading.
Example: --local-hot-reloading hot_reloading_enabled 6565 Local\Path\To\Files\My\Image\Expects Path\In\Container\Where\Files\Need\To\Be|
|--local-custom-ports|String[]|Any number of arguments representing pairs of ports in the format LocalPort:InContainerPort.
Leaving local port empty, as in ':InContainerPort', will expose the container port at the next available local port (this changes every container creation)
|
|--local-custom-bind-mounts|String[]|Any number of arguments in the format LOCAL_PATH:IN_CONTAINER_PATH to bind between your machine and the docker container|
|--local-custom-volumes|String[]|Any number of arguments in the format VOLUME_NAME:IN_CONTAINER_PATH to create and bind named volumes into the docker container|
|--local-env-vars|String[]|Any number of arguments in the format NAME=VALUE representing environment variables to set into the local container|
|--remote-health-endpoint|String[]|The health check endpoint and port, with no trailing or heading '/', that Beam-O should call on the deployed container to see if application is up.
Example: --local-health-endpoint health 6565|
|--remote-env-vars|String[]|Any number of arguments in the format 'NAME=VALUE' representing environment variables Beam-O should set on the container it runs in AWS|
|--base-image|String|Name and tag of the base image to use for the local mongo db instance|
|--dryrun|Boolean|Should any networking happen?|
|--cid|String|Cid to use; will default to whatever is in the file system|
|--pid|String|Pid to use; will default to whatever is in the file system|
|--host|String|The host endpoint for beamable|
|--refresh-token|String|Refresh token to use for the requests|
|--log|String|Extra logs gets printed out|
|--dir|String|Directory to use for configuration|
|--version|Boolean|Show version information|
|--help|Boolean|Show help and usage information|

Parent Command

services