Fix volume consistency - use esv-bible_data volume name and correct /app/backend/data path in both Docker run commands and docker-compose.yml

This commit is contained in:
Ryderjj89
2025-09-14 12:48:53 -04:00
parent d430de915a
commit f46db34329
2 changed files with 3 additions and 3 deletions

View File

@@ -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**