- deploy/compose.yaml: KANAME_DATA_DIR bind mount (SQLite) for web and
worker, NFSv4 volume for models (worker only), configured via .env
- entrypoint fails fast with a chown hint if /data or /models isn't writable
- .env.example and README document the server storage layout
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- docker-entrypoint.sh: `web` (default) or `worker`; both apply pending
migrations under a flock on /data, so no start-order dependency
- docker-healthcheck.sh baked into the image for both roles
- deploy/compose.yaml reduced to image, role, env file, volumes, port
- dist/migrate.mjs bundled alongside the worker
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>