Changelog of @hackage/arion-compose 0.2.1.0

Revision history for Arion

0.2.1.0 -- 2023-07-26

Added

  • service.networks now supports attribute set values with various options, thanks to @pedorich-n.
  • docker-compose.volumes can now be specified in multiple modules, thanks to @qaifshaikh.
  • image.fakeRootCommands for making modifications to the image that aren't "add a link farm".

Fixed

  • Regular maintenance fixes, including one by olebedev

0.2.0.0 -- 2022-12-02

BREAKING

  • The project.name option is now mandatory for projects that aren't deployed with the NixOS module.

  • The NixOS module now sets the default network name to the project name (commonly referred to as <name> in the option path). If this is not desired, for instance if you need the projects to be on the same network, set networks.default.name in each of them.

  • The NixOS module now sets the default project name. You can still set your own value with the project.name option. If you did not set one, docker compose heuristically determined the name to be store, so you may want to set project.name = "store" or prepare to rename the network manually.

Removed

  • NixOS 20.09 support. Its docker-compose does not support the networks.<name>.name option, which is important in later versions. A newer, bundled docker compose may work there, but for now the decision is to drop this legacy version.

Changed

  • Healthcheck-based dependencies in service.depends_on.

Added

  • Support service.healthcheck for defining custom healthchecks.
  • Arion now declares a networks.default by default, with name set to project.name. This improves compatibility with container runtimes by copying pre-existing behavior. Most users will want to keep using this behavior, but it can be disabled with enableDefaultNetwork.

0.1.3.0 -- 2020-05-03

Changed

  • useHostStore now uses an image derived from the image.* options. You may need to enable enableRecommendedContents because with this change, files like /bin/sh aren't added by default anymore.

  • Drop obsolete NixOS 19.03, 19.09 and 20.03 from CI.

Added

  • NixOS-based containers can now run on Podman when it is configured to provide a docker socket. See the installation docs.

  • Support service.dns, for overriding the DNS servers used by containers.

  • Support service.labels, which is useful for autodiscovery among other things.

  • Add a tested example for Traefik with label-based routing.

  • Add a flake.nix and an experimental flake example

  • Add a warning when systemd DynamicUser is used but not available to the container.

  • CI with NixOS 21.05

0.1.2.0 -- 2020-03-05

  • Support use of prebuilt docker-compose.yaml. Separates build and execution without duplicating evaluation.

  • Avoid storing tarballs (wasting store space) by using dockerTools.streamLayeredImage if available.

  • Project name is now configurable via the project.name option

  • Support --no-ansi, --compatibility, --log-level options

0.1.1.1 -- 2020-03-20

  • Fix ambiguous import of lines
  • Improve base version constraint
  • Fix warnings

0.1.1.0 -- 2020-03-19

  • Support Nixpkgs 20.03
  • Fixes for macOS

0.1.0.0 -- 2019-10-04

  • First released version. Released on an unsuspecting world.