You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A light profile for daily work that leaves out containers the tree does not strictly need: a search engine (~2 GB RAM), a virus scanner, a document converter, an address geocoder, a mock AI service.
[profiles.lite]
description = "daily work without the heavy optional containers"autostart = ["api", "web"]
autostart only takes [services] entries. Naming a container is an error:
devstack.toml: 1 problem(s)
- profiles.lite.autostart[1]: no service `compose.search.search-engine` in `[services]`
A Compose group always starts every container in its services list, and neither a profile nor the group has a key that leaves one out. A Compose profiles: entry in the dev overlay does not help either: devstack starts the containers by name, and Compose starts a container named on the command line even when it belongs to a profile.
Proposal
Let a profile leave out containers, for example:
[profiles.lite]
skip = ["compose.search.search-engine", "compose.app.scanner"] # or a whole group: "compose.search"
Alternatively, a per-container autostart = false in the Compose group (started on demand with devstack start compose.app.scanner), which a profile's autostart could then list like a service.
devstack check could warn when a skipped container is still in another member's after or in a {compose.<group>.<service>...} placeholder, the way it already reports unknown names.
Environment
devstack 0.20.0
Windows 11, Docker Desktop
Stack: two Compose groups (one with a single search-engine container, one with ~13 containers), native .NET API + migrator job + Angular dev server
Thanks, this is now proposed in #246 (ADR-0058): a profile gets skip, which takes containers (compose.<group>.<service>), whole groups (compose.<group>) and services:
[profiles.lite]
description = "daily work without the heavy optional containers"skip = ["compose.search", "compose.app.scanner"]
What a profile skips does not start with the tree. A skipped container that still runs from an earlier start is stopped, so the memory is freed. It can still be started on demand (devstack start compose.app.scanner).
devstack check reports a service that starts with the profile and uses a skipped container's address (a {compose.…} placeholder or rewrite_hosts) as an error, since its start would fail. after alone is fine: the service starts without waiting.
autostart was not extended to containers: an existing autostart = ["api", "web"] starts every container today, and that would have changed.
Activity
7schmiede commentedon Oct 23, 2026
Thanks, this is now proposed in #246 (ADR-0058): a profile gets
skip, which takes containers (compose.<group>.<service>), whole groups (compose.<group>) and services:What a profile skips does not start with the tree. A skipped container that still runs from an earlier start is stopped, so the memory is freed. It can still be started on demand (
devstack start compose.app.scanner).devstack checkreports a service that starts with the profile and uses a skipped container's address (a{compose.…}placeholder orrewrite_hosts) as an error, since its start would fail.afteralone is fine: the service starts without waiting.autostartwas not extended to containers: an existingautostart = ["api", "web"]starts every container today, and that would have changed.feat(profiles): a profile can leave out containers, whole Compose gro…
7schmiede commentedon Oct 23, 2026
Fixed in 0.21.0 by #246:
[profiles.<name>] skipleaves out containers, whole Compose groups and services (ADR-0058).