You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Migration
# command/entrypoint now match Docker Compose semantics — swap them if you used `command:` to override ENTRYPOINTentrypoint: ["/docker-entrypoint.sh"]command: ["nginx", "-g", "daemon off;"]# mounts.readonly → mounts.read_onlymounts:
/etc/nginx/:
read_only: true# stop_grace_period example was misleading (always was nanoseconds)stop_grace_period: 10000000000# 10s
First 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
Change health_check and stop_grace_period schema from int32 to float64
Docker API expects nanosecond durations (int64). JTD has no int64 type,
so float64 is used instead. int32 overflows at ~2.1s which is too small
for any practical health check interval.