From b354bc487190da0a55dfcf98b1c53206213333d1 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Wed, 21 Oct 2026 21:02:02 -0400 Subject: [PATCH] README quick-start keeps restart: unless-stopped f16224b dropped it from the inline compose file, reading rule 198 "Shipped compose files run on the orchestrator's defaults" as covering it. The rule keeps plain Compose's restart: unless-stopped: Compose defaults to `no`, so without it a crash or reboot leaves the stack down, and Swarm ignores the key. docker-compose.yml already carries it (#6220). Co-Authored-By: Claude Opus 5.5 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 031e683..197d8aa 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ and run `docker compose up -d`: services: db: image: postgres:16-alpine + restart: unless-stopped environment: POSTGRES_USER: inkwell POSTGRES_PASSWORD: CHANGE_ME @@ -30,6 +31,7 @@ services: app: image: git.fabledsword.com/bvandeusen/inkwell:latest + restart: unless-stopped depends_on: - db environment: