Repository navigation
Immutable
release. Only release title and notes can be modified.
Added
- Service names resolve between containers (#19). Apple
containerhas no service DNS, so each service container now mounts a generated/etc/hostslisting every project container on a shared network by service name, container name andnetworks.<net>.aliases. Files live under~/.local/state/container-compose/<project>/hosts/and are refreshed onupandstart, removed ondown. host.docker.internal/gateway.docker.internal(#20) resolve to the network gateway, which is the Mac. Reaches listeners bound to0.0.0.0. For listeners bound to127.0.0.1(kubectl port-forward default) register Apple's redirect once:sudo container system dns create host.docker.internal --localhost 203.0.113.113; when that domain exists the hosts entry is skipped so DNS answers.extra_hostsis applied, incl. thehost-gatewaykeyword. Previously warned as unsupported.depends_on.required: false(#18). An optional dependency joins only when its own profile is active, so--profile uino longer drags in alocal-db-gated service. Needs ComposeKit 0.0.5.up --remove-orphans/down --remove-orphans(#17). Removes containers carrying the project label whose service is no longer in the file, stopped ones included.upwarns about them otherwise.up -d(#16) accepted. Containers always ran detached.
Fixed
configno longer lists optional dependencies thatupwould skip.
Notes
- Hosts files are rewritten in place and padded to 4 KiB. The guest bind mount pins the inode, and virtiofs caches the size for about a second, so a peer that starts after you shows up roughly a second later.
- Known, not fixed: global flags before the subcommand (
container compose -f x down) parse asupwith servicedown. Put flags after the subcommand. - Depends on ComposeKit v0.0.5.
Full Changelog: v0.0.9...v0.1.0