You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -46,15 +46,15 @@ The `docker-compose.yml` includes a volume mount that maps your local `db.json`
46
46
47
47
```yaml
48
48
volumes:
49
-
- ./db.json:/usr/share/nginx/html/data/db.json:ro
49
+
- ./db.json:/data/db.json:ro
50
50
```
51
51
52
52
**Important**: Update the left side (`./db.json`) to the actual path of your MassCode database file. The volume is read-only to prevent accidental modifications to your data.
53
53
54
54
### Manual Docker Run
55
55
56
56
```bash
57
-
docker run -d -p 8080:80 -v /path/to/your/db.json:/usr/share/nginx/html/data/db.json:ro ghcr.io/codebude/masscode-web:latest
57
+
docker run -d -p 8080:80 -v /path/to/your/db.json:/data/db.json:ro ghcr.io/codebude/masscode-web:latest
0 commit comments