akkasls services expose

Expose a service.

Synopsis

The akkasls services expose service-name command creates a route to expose a service for inbound traffic. You may optionally enable HTTP CORS with the --enable-cors flag.

akkasls services expose SERVICE [flags]

Examples

akkasls services expose my-service

Options

      --enable-cors         enable http CORS
  -h, --help                help for expose
      --hostname string     service route hostname
      --owner string        the owner of the project to use, needed if you have two projects with the same name from different owners
      --project string      project to use if not using the default configured project
      --uri-prefix string   service URI prefix (default "/")

Options inherited from parent commands

      --config string      location of config file (default "~/.akkaserverless/config.yaml")
      --context string     configuration context to use
  -o, --output string      set output format to one of [text,json,gotemplate=] (default "text")
  -q, --quiet              set quiet output (helpful when used as part of a script)
      --timeout duration   client command timeout (default 10s)
  -v, --verbose            set verbose output

SEE ALSO