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