From 33ae860059995bbd823147089ce9c8d34967c161 Mon Sep 17 00:00:00 2001 From: Soham Dasgupta Date: Tue, 13 Jan 2026 20:01:22 +0530 Subject: [PATCH] feat: update Docker volumes for OpenCode CLI data and user configuration --- docker-compose.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 69d2ddd2..97526b5f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -80,7 +80,10 @@ services: # Persist OpenCode CLI configuration and authentication across container restarts # This allows 'opencode auth login' authentication to persist between restarts - - automaker-opencode-config:/home/automaker/.local/share/opencode + - automaker-opencode-data:/home/automaker/.local/share/opencode + + # Persist OpenCode user configuration across container restarts + - automaker-opencode-config:/home/automaker/.config/opencode # NO host directory mounts - container cannot access your laptop files # If you need to work on a project, create it INSIDE the container @@ -106,7 +109,12 @@ volumes: # Named volume for Cursor CLI configuration and authentication # Persists cursor-agent login authentication across container restarts + automaker-opencode-data: + name: automaker-opencode-data + # Named volume for OpenCode CLI data and authentication (~/.local/share/opencode) + # Persists opencode auth login authentication across container restarts + automaker-opencode-config: name: automaker-opencode-config - # Named volume for OpenCode CLI configuration and authentication - # Persists opencode auth login authentication across container restarts + # Named volume for OpenCode user configuration (~/.config/opencode) + # Persists user configuration across container restarts