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.
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.
Examples
Section titled “Examples”monoceros remove-service acme postgresmonoceros remove-service acme cacheBehavior
Section titled “Behavior”- 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 applyto tear the service down. Its data volume is removed with it.
See also
Section titled “See also”monoceros add-service- the inverse.- Services catalog - what each service does.