From f46db343294b168cad21981ecc797682a2dbf11f Mon Sep 17 00:00:00 2001 From: Ryderjj89 Date: Sun, 14 Sep 2025 12:48:53 -0400 Subject: [PATCH] Fix volume consistency - use esv-bible_data volume name and correct /app/backend/data path in both Docker run commands and docker-compose.yml --- README.md | 4 ++-- docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 00396f7d..534fdb9c 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ A Docker-based ESV Bible application with markdown content, featuring a React fr 1. **Run directly from Docker Hub** ```bash - docker run -d -p 3000:3000 -v esv-bible-data:/app/backend/data --name esv-bible ryderjj89/esv-bible:latest + docker run -d -p 3000:3000 -v esv-bible_data:/app/backend/data --name esv-bible ryderjj89/esv-bible:latest ``` 2. **Access the application** @@ -62,7 +62,7 @@ A Docker-based ESV Bible application with markdown content, featuring a React fr 2. **Build and run with Docker (with persistent storage)** ```bash docker build -t esv-bible . - docker run -p 3000:3000 -v esv-bible-data:/app/backend/data esv-bible + docker run -p 3000:3000 -v esv-bible_data:/app/backend/data esv-bible ``` 3. **Access the application** diff --git a/docker-compose.yml b/docker-compose.yml index dbeeed2c..336246aa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: ports: - "3000:3000" volumes: - - data:/app/bible-data + - data:/app/backend/data environment: - NODE_ENV=production restart: unless-stopped