Skip to content

monoceros remove-service

Removes a Compose service from a workbench’s config. It is torn down on the next monoceros apply. The inverse of monoceros add-service.

Terminal window
monoceros remove-service <name> <service> [--yes]

<service> is the service’s name in the config - the catalog name, or the --as alias you gave it when adding it.

Terminal window
monoceros remove-service acme postgres
monoceros remove-service acme cache
  • Idempotent. Removing a service that is not in the config is a no-op.
  • No confirmation prompt. The edit is written straight to the yml as soon as you run the command.
  • Edits the yml only. Run monoceros apply to tear the service down. Its data volume is removed with it.