move-server.sh: --tools-dir for agent installs and /tmp on a separate disk

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-09 12:54:21 +01:00
1 parent 6b1d7f91b8
commit eef17eb591
3 files changed
+36 -4

No files matched your search

+3
View File
@@ -103,6 +103,9 @@ copies the workspace, stops CodeCraft, streams the data volume to `<dir>/data`,
`docker-compose.yml` (and a `start.sh` for hosts without Compose) with bind mounts, starts the
published image there and runs `scripts/smoke-test.sh`. The old container is only stopped, so
you can roll back. `--help` lists the options (owner, port, bind address, dry run).
`--tools-dir /mnt/disks/ssd/codecraft` puts everything agents install or download – the agent
home (`/data/home`: toolchains, pip/npm/cargo packages, caches), the users' homes and `/tmp` – on
a separate disk; the data folder keeps only the database, configuration and backups.
## How it works