copilot svc init

Creates a new service in an application

Options

NameDescription
--app, -a <name>Name of the application
--dockerfile, -d <dockerfile>Path to the Dockerfile
--image, -i <image>The location of an existing Docker image
--name, -n <name>Name of the service
--no-subscribeOptional. Turn off selection for adding subscriptions for worker services
--port <port>The port on which your service listens
--subscribe-topics <subscribe-topics>
  • Repeatable ♾
--svc-type, -t <svc-type>Type of service to create
--help, -hHelp for command