4.0.0
Migration
# command/entrypoint now match Docker Compose semantics — swap them if you used `command:` to override ENTRYPOINT
entrypoint: ["/docker-entrypoint.sh"]
command: ["nginx", "-g", "daemon off;"]
# mounts.readonly → mounts.read_only
mounts:
/etc/nginx/:
read_only: true
# stop_grace_period example was misleading (always was nanoseconds)
stop_grace_period: 10000000000 # 10sFirst swarm-app diff after upgrading will show a cosmetic diff on services using configs: (Mode now explicit 0o444). Redeploy clears it.
What's Changed
- Fix YAML schema inconsistencies by @firecow in #128
- Fix command/entrypoint mapping to match Docker semantics by @firecow in #127
Full Changelog: 3.1.6...4.0.0