Commit Graph
1 Commits
Author SHA1 Message Date
Max Ivankovsky fe6f2a3ed2 fix(compose): add opt-in Docker Desktop overlay instead of changing the default
Per review on #580: keep the default docker-compose.yml and
docker-compose.ghcr.yml on host bind mounts so existing native-Linux installs
are untouched -- a plain `git pull && docker compose up -d`, update.sh and
`backup.sh --with-data` all keep working -- and move the named-volume fix into
an opt-in overlay for VM-backed Docker hosts.

- docker-compose.desktop.yml (new): layered over the base with
  `-f docker-compose.yml -f docker-compose.desktop.yml`, it overrides the
  /app/data, /app/keys and /app/skills host bind mounts with Docker-managed
  named volumes, so the agent-isolation self-test passes on Docker Desktop for
  Windows/WSL (0777, ignored chown/chmod) and macOS (fakeowner mount). Works
  over docker-compose.ghcr.yml too.
- README: add a Quick-start callout and a "Docker Desktop on Windows and macOS"
  section documenting the overlay invocation and the cp-based data/keys/skills
  handling. The default docs keep describing ./data, ./keys and ./skills, which
  are correct again now that the default is unchanged.

This reverts the earlier default-changing approach (named volumes in the base
compose files) in favour of the overlay the maintainer preferred.
2026-11-26 23:52:06 +02:00