opensim-opencode is a specialized OpenCode v2 container for the OpenSim AI stack.
It starts opencode in server mode and binds HTTP on container port 8998.
For Issues And Discussions see main project opensim-ai-docker
This is part of the opensim-stack and is intended to be used in conjunction with other parts of the stack. See Docs for full details.
- Runs
opencodein server mode (serverorserve, auto-detected) - Starts from
/workspaceand uses it as the project directory by default - Keeps persistent state/config/cache/data in dedicated volume mount points
- Supports the same OpenSim stack environment variable conventions where applicable
- Adds analysis/helper tools over the default
opencodeimage for OpenSim workflows
This image installs the following extra packages on top of the default opencode base image:
python3-pipffmpegopenjpeg2ImageMagickjqxz
These additions are intended to support image/media analysis and related asset-processing tasks in OpenSim pipelines.
OPENCODE_HOST=0.0.0.0OPENCODE_PORT=${OPENCODE_PORT:-${OPENCODE_WEB_PORT:-8998}}OPENCODE_PROJECT_DIR=/workspace- Container HTTP listen port:
8998/tcp
opensim-workspace->/workspaceopencode-config->/root/.config/opencodeopencode-data->/root/.local/share/opencodeopencode-state->/root/.local/state/opencodeopencode-cache->/root/.cache/opencode
OPENCODE_SERVER_EXTRA_ARGSextra flags appended to server startup commandOPENCODE_MODEoverride mode, defaults toserve, withwebas an alternativeOPENCODE_PROJECT_DIRoverride startup directory (default/workspace)
See BUILDING.md for local build/run steps, manual multiarch publish commands, and automated GitHub Actions publish details.