From 2c33b8127759530d8647be29fdefea15410dd780 Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Sat, 20 Jun 2026 22:37:37 -0600 Subject: [PATCH] Add restart: unless-stopped to backend and frontend A frontend OOM during heavy LTspice image builds left it crashed with no auto-recovery (Caddy served empty 200s). Restart policy self-heals crashes and survives host reboots. --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 571e2da..47a861e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,7 @@ services: backend: build: context: ./backend + restart: unless-stopped env_file: .env volumes: - ./notebooks:/app/notebooks @@ -14,6 +15,7 @@ services: frontend: build: context: ./frontend + restart: unless-stopped env_file: .env environment: - PUBLIC_API_URL=https://${SPICEBOOK_DOMAIN:-localhost:4321}