(Thanks to @snaggen)
- Add the
start_interval
field toHealthcheck
as per https://docs.docker.com/reference/compose-file/services/#healthcheck
(Thanks to @Ptrskay3)
- Add mem_limit, mem_reservation and mem_swappiness based on https://docs.docker.com/reference/compose-file/services/#mem_limit
(Other)
- Fix
indexmap
feature issue when not using default features of the crate.
(Thanks to @snaggen)
- Support for devices in reservations https://docs.docker.com/compose/compose-file/deploy/#devices
(Thanks to @pbrant)
- Support for domainname in Service https://docs.docker.com/compose/compose-file/05-services/#domainname
(Thanks to @snaggen)
- Support for read_only images https://docs.docker.com/compose/compose-file/05-services/
(Thanks to @snaggen)
- Add support for gid (numerical) groups
(Thanks to @snaggen)
- Support the alternative notation for
extends
in services. As per https://docs.docker.com/compose/multiple-compose-files/extends/#extending-services-within-the-same-file
(Thanks to @pbrant)
- Add
cgroup_parent
toService
- Bump
indexmap
to2.2
- Bump
derive_builder
to0.20
- Add
serde_yml
as alternative toserde_yaml
as the latter is no longer maintained (Looking for feedback on this, currently behindyml
andyaml
feature flags,serde_yaml
is still the default)
(Thanks to @dustins)
- Make `driver' optional for LoggingParameters
(Thanks to @agavrilov)
- Add pull_policy field (and relevant possible values) to Service
- Also: Update dependencies
(Thanks to @trijpstra-fourlights and @k9withabone for the contributions)
- Add: cap_drop and userns_mode fields to Service
- Add: group_add to Service
(Thanks to @cyqsimon for reporting the issue)
- Resolve issue #31: Cannot mix long syntax and short syntax volume declaration
(Thanks to Andrew Thorburn)
- Introduce secrets
- Bump IndexMap dependency to 2.1.0
- Bump IndexMap dependency to 2.0.0
(Thanks to Paul Nettleton)
- Fix top-level volumes visibility
(Thanks to Paul Nettleton)
- Add
tmpfs: Option<Tmpfs>
toService
- Add
bind: Option<Bind>
andtmpfs: Option<TmpfsSettings>
toAdvancedVolumes
for bind and tmpfs volume options - Add enums
SysCtls
andSysCtlValue
to supportsysctls
option - Add
Ulimit
enum for single value ulimit and soft/hard mapping - Makes field
options
onLoggingParameters
a map - Add
driver_opts
,enable_ipv6
,labels
, andname
toNetworkSettings
- Change
internal
to bool - Add
driver
toIpam
.. and many more fixes and changes, thanks Paul!
(Thanks to Tom Harper)
- Add support for extra hosts in services
- Add tty support
(Thanks to Thomas Da Rocha)
- Add defaults to some types
- Avoid serializing some additional empty fields
- Bump minor version as changes are breaking
(Thanks to Julian Scheid)
- Add support for additional types of environment variables for a service
(Thanks to Julian Scheid)
- Support for latest build settings
- Update outdated dependencies
(Thanks to Thomas Da Rocha)
- Handle healthcheck start_period field
(Thanks to Thomas Da Rocha)
- Make the indexmap dependency optional
(Thanks to Thomas Da Rocha)
- Make remaining fields of note visible
(Thanks to Atk)
- Remove anyhow, provide own error type for TryFrom
- Simplify is_zero
- Derive more
- Fix clippy lints
- Simplify Service::image and Service::network_mode
- Move test out of lib.rs
- Allow 'entrypoint' to be a list
- Add 'init', 'stdin_open' and 'shm_size' properties
- Implement Clone for ComposeFile, SingleService and Compose
- Support Extensions (fields starting with "x-")
- Allow dns servers to be specified, improve network parsing
- Allow external networks to be explicitly disabled
- Support the
privileged
flag for a service
- Support multiple
env_file
's
- Initial Open Source release of the code
- Added and tweaked the test files from the main docker-compose project