Results for “Compose service options”
Small, practical examples. Search by task or narrow things down below.
Put an optional service behind a profile
Keep a utility service separate from a normal Compose startup.
Compose✓ Tested
Set a service’s working directory
Docker / Compose: Set a service’s working directory in a small Compose file.
Docker / Compose✓ Tested
Set service environment values
Pass configuration through the Compose environment section.
Compose✓ Tested
Declare a named volume in Compose
Mount persistent storage at a service path.
Compose✓ Tested
Allow several selected options
HTML: A multiple select exposes each selected option as a value with the same control name.
HTML✓ Tested
Collect selected options from a multi-select
Collect selected options from a multi-select with a small React component and explicit browser behavior.
React✓ Tested
Compose a component with named content slots
Compose a component with named content slots with a small React component and explicit browser behavior.
React✓ Tested
Compose content through children
Compose content through children with a small React component and explicit browser behavior.
React✓ Tested
Derive totals inside a shared service
Derive totals inside a shared service with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Disable networking for a Compose command
Docker / Compose: Disable networking for a Compose command in a small Compose file.
Docker / Compose✓ Tested
Expose service state through a read-only signal
Expose service state through a read-only signal with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Inject a service into a component
Inject a service into a component with a standalone Angular component and explicit browser behavior.
Angular✓ Tested