Skip to content

Releases: flaticols/container-compose

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 15 Oct 12:24
Immutable release. Only release title and notes can be modified.
v0.1.0
7b587a0

Added

  • Service names resolve between containers (#19). Apple container has no service DNS, so each service container now mounts a generated /etc/hosts listing every project container on a shared network by service name, container name and networks.<net>.aliases. Files live under ~/.local/state/container-compose/<project>/hosts/ and are refreshed on up and start, removed on down.
  • host.docker.internal / gateway.docker.internal (#20) resolve to the network gateway, which is the Mac. Reaches listeners bound to 0.0.0.0. For listeners bound to 127.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_hosts is applied, incl. the host-gateway keyword. Previously warned as unsupported.
  • depends_on.required: false (#18). An optional dependency joins only when its own profile is active, so --profile ui no longer drags in a local-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. up warns about them otherwise.
  • up -d (#16) accepted. Containers always ran detached.

Fixed

  • config no longer lists optional dependencies that up would 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 as up with service down. Put flags after the subcommand.
  • Depends on ComposeKit v0.0.5.

Full Changelog: v0.0.9...v0.1.0

v0.0.9

Choose a tag to compare

@github-actions github-actions released this 21 Jul 19:53
Immutable release. Only release title and notes can be modified.
v0.0.9
80c5781
v0.0.9

vv0.0.9-beta1

vv0.0.9-beta1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Jul 18:28
Immutable release. Only release title and notes can be modified.
80c5781
Adopt async subprocess orchestration (#15)

v0.0.8

Choose a tag to compare

@github-actions github-actions released this 21 Jun 14:07
Immutable release. Only release title and notes can be modified.
f58ac04
Add logs --tail, kill, exec --workdir/--user/--env, up --wait (#11)

v0.0.7

Choose a tag to compare

@github-actions github-actions released this 21 Jun 13:47
Immutable release. Only release title and notes can be modified.
edc6664
Add 'container-compose update' self-update command (#10)

v0.0.6

Choose a tag to compare

@github-actions github-actions released this 21 Jun 13:31
Immutable release. Only release title and notes can be modified.
7d0426d
release: draft -> attach .pkg -> publish (immutable-releases compatib…

v0.0.5

Choose a tag to compare

@flaticols flaticols released this 21 Jun 13:17
Immutable release. Only release title and notes can be modified.
1fa408d

Architecture release: container-compose now owns the container runtime layer.

Changes

  • The translation + orchestration layer (previously consumed from ComposeKit's ComposeKitContainer product) now lives in this repo as the ContainerComposeKit target — ContainerTranslator, ContainerRunner, Orchestrator, HealthChecker. ComposeKit is now a pure, runtime-agnostic Compose parser.
  • Bumps ComposeKit to 0.0.3, which brings parser fixes: container-port-only ports (e.g. "80") are skipped with a warning (container can't auto-assign a host port), and IPv6 host_ip in long-form ports is bracketed.
  • Runtime behavior is otherwise unchanged; this is primarily an internal re-architecture.

Still in active development (pre-1.0). The attached .pkg is unsigned unless Developer ID signing secrets are configured (Gatekeeper will warn).

Full changelog: v0.0.3...v0.0.5

v0.0.3

Choose a tag to compare

@github-actions github-actions released this 20 Jun 16:46
Immutable release. Only release title and notes can be modified.
v0.0.3
f3bc096

What's new

Fractional CPU limits now work. Adopts ComposeKit 0.0.2, which ceils a fractional Compose cpus (e.g. 0.5, or deploy.resources.limits.cpus) to an integer before container run --cpus — previously this failed with "invalid value for '--cpus'". (#6, flaticols/ComposeKit#8)

Examples. New examples/ directory — four runnable projects on lightweight images:

  • quickstart — nginx + static bind mount
  • healthcheck — depends_on: service_healthy gating
  • profiles — profile-gated debug sidecar
  • full-stack — Caddy proxy, segmented frontend/backend networks, health gating, named volume, .env interpolation, resource limits

Docs. The site now links ComposeKit and the Apple Container JetBrains plugin → https://flaticols.github.io/container-compose/

Install

Download container-compose-0.0.3.pkg below — Developer ID signed, notarized, and stapled. Or build from source: make && sudo make install.

Full changelog: v0.0.2...v0.0.3

v0.0.2

Choose a tag to compare

@github-actions github-actions released this 20 Jun 16:11
v0.0.2
62be758
container-compose 0.0.2

Corrects the CLI version (v0.0.1 shipped a binary reporting 0.1.0). The
version is now stamped from the git tag at build time and verified in CI.

v0.0.1

Choose a tag to compare

@github-actions github-actions released this 20 Jun 15:59
v0.0.1
b06d856
container-compose 0.0.1

First tagged release. Adopts ComposeKit 0.0.1 and adds the exec/pull/stop/
start/restart lifecycle commands plus --profile. Ships a signed, notarized,
and stapled .pkg via the release workflow.