From ca68e9df529814fcc9f520ceec670d46bf0cb03b Mon Sep 17 00:00:00 2001 From: Nate Emmert Date: Tue, 21 Jul 2026 20:20:01 -0400 Subject: [PATCH] Switch data volume from bind mount to named Docker volume Bind mount (./data:/app/data) was relative to the working directory, so data was lost whenever the project was re-cloned or compose was run from a different path. A named volume is managed by Docker and persists across container rebuilds and image pulls. Co-Authored-By: Claude Sonnet 4.6 --- docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index bba39de..c7f0305 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,5 +5,8 @@ services: ports: - "3000:3000" volumes: - - ./data:/app/data + - spelling-data:/app/data restart: unless-stopped + +volumes: + spelling-data: