mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +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:
@@ -7,8 +7,7 @@ services:
|
||||
|
||||
volumes:
|
||||
- ${VOL_PATH:-/data}/opencode/config:/config
|
||||
- ${VOL_PATH:-/data}/opencode/data:/data
|
||||
- ${VOL_PATH:-/data}/opencode/projects:/projects
|
||||
- ${VOL_PROJECTS:-/data/projects}:/projects
|
||||
|
||||
environment:
|
||||
- OPENCODE_PORT=${OPENCODE_PORT:-4096}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
OPENCODE_IMAGE_NAME=ghcr.io/anomalyco/opencode:latest
|
||||
OPENCODE_RESTART=unless-stopped
|
||||
VOL_PATH=/home/youruser/.local/share
|
||||
VOL_PROJECTS=/home/youruser/projects
|
||||
OPENCODE_PORT=4096
|
||||
OPENCODE_HOSTNAME=0.0.0.0
|
||||
OLLAMA_HOST=http://localhost:11434
|
||||
Reference in New Issue
Block a user