deploy: restart always so containers auto-start after host reboot #51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/restart-always-reboot"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
unless-stoppeddoes not restart a container that was already stopped when the docker daemon last shut down — and a clean pre-reboot stop marks containers exactly that way. After a host reboot the whole stack stayed down (only the one container already onrestart: alwayscame back).This switches the
webandpostgresservices torestart: always. Themigrateone-shot is left unchanged.Live containers on max2 were already set to
alwaysviadocker update; this makes it durable across redeploys.