docs(bind-mount): add note and link to the overrides docs

This commit is contained in:
Kwee Lung Sin 2026-09-10 02:09:54 +07:00
parent 66a778c03e
commit 2e29a092e0
No known key found for this signature in database
1 changed files with 4 additions and 1 deletions

View File

@ -17,6 +17,9 @@ Bind mounts create a direct connection between a directory on your host machine
| **Named Bind-Mounted Volume** | `volume_name:/container/path` + `driver_opts` on the volume | Production data that requires specific host filesystem functionality, e.g. NFS/SAN/ZFS | On host filesystem, survives `docker compose down -v` |
| **Anonymous Volume** | `/container/path` | Temporary/cache data | Docker-managed, auto-deleted |
**NOTE**: This repository ships Docker Compose override files that configure named bind-mounted volumes for production data.
See [overrides.md](../02-setup/05-overrides.md) for the full list and usage.
## Bind Mount Examples
```yaml
@ -54,7 +57,7 @@ volumes:
driver_opts:
type: none
o: bind
device: /data/db # absolute host path, must already exist
device: /data/db # must be the absolute host path and already exist
```
## Performance Optimization (macOS/Windows)