Commit graph

6 commits

Author SHA1 Message Date
fc2e5b1bca Replace docker compose with persistent per-project lifecycle
Move from docker compose run to a Python-managed container lifecycle.
Each project now gets a dedicated container that is started on demand
and stopped when opencode exits, instead of being recreated each time.

Use a shared home directory across projects so configurations presist.

The container are not destroyed, so tools and caches can be installed
specifically for a project by opencode itself once and reused, while
still avoiding long-running containers.
2026-01-21 21:33:30 +09:00
57ef6454c6 Fix README data -> container-home 2026-01-15 12:20:26 +09:00
b1f356c5f5 Fix problem where container home was seperate for each project dir
The problem was that we mounted `pwd` as HOME and that meant that
every time git was used it would look into the data and work for a
long time, and it would also commit everything there.

Now we have a central container-home directory in the directory
where we checked out this git repo and it is used by each session
independent of in which project directory we are.
2026-01-15 12:19:07 +09:00
f479a613a0 Fix problem with arguments
It was impossible to have several arguments while calling
opencode in the container like `opencode auth list`, it would
just break. With this change this also works.
2026-01-14 10:50:42 +09:00
39edc252f0 Simplify state persistence
Use use local ./data directory instead of
XDG directories.
2026-01-13 14:47:56 +09:00
c3e9e2b40b Initial commit 2026-01-13 13:48:49 +09:00