mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-03 18:36:22 +00:00
Use VOL_PROJECTS for project directories across opencode and vscode stacks
- Replace VOL_PATH with VOL_PROJECTS for project mounts - Remove unused opencode /data volume - Update sample.env and AGENTS.md with VOL_PROJECTS convention
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
- Every stack has at least 3 files: `compose.yaml` (dockhand style), `sample.env`, `README.md`
|
||||
- `_dev` = experimental, `_notes` = docs/minimal examples, no suffix = production-ready
|
||||
- Always references an external `proxy` network (`docker network create proxy` once)
|
||||
- Volumes use `${VOL_PATH:-/data}` as the base path (absolute `/data`, never `./data`)
|
||||
- Volumes use `${VOL_PATH:-/data}` as the base path (absolute `/data`, never `./data`); project directories use `${VOL_PROJECTS:-/data}`
|
||||
- Timezone defaults to `America/Vancouver`, but only include if the container requires it.
|
||||
- Restart policy, image tag, and port are configurable via env vars with sensible defaults
|
||||
- New stacks: copy from `_docs/template-compose.md` and `_docs/template-readme.md`
|
||||
|
||||
Reference in New Issue
Block a user