feat: update Docker volumes for OpenCode CLI data and user configuration

This commit is contained in:
Soham Dasgupta
2026-01-13 20:01:22 +05:30
parent 67f18021c3
commit 33ae860059

View File

@@ -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