Skip to content

About

A Docker image for opencode, built specifically for the OpenSimulate AI Stack. Open code connects to AI providers, manages models, and talks to the OpenSimulator AI stack MCP servers such as console2mcp and metaverse2mcp

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

opensim-opencode

Docker Hub Docker Publish

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.

What this image does

  • Runs opencode in server mode (server or serve, auto-detected)
  • Starts from /workspace and 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 opencode image for OpenSim workflows

Additional tools in this image

This image installs the following extra packages on top of the default opencode base image:

  • python3-pip
  • ffmpeg
  • openjpeg2
  • ImageMagick
  • jq
  • xz

These additions are intended to support image/media analysis and related asset-processing tasks in OpenSim pipelines.

Runtime defaults

  • OPENCODE_HOST=0.0.0.0
  • OPENCODE_PORT=${OPENCODE_PORT:-${OPENCODE_WEB_PORT:-8998}}
  • OPENCODE_PROJECT_DIR=/workspace
  • Container HTTP listen port: 8998/tcp

Required volume mappings

  • opensim-workspace -> /workspace
  • opencode-config -> /root/.config/opencode
  • opencode-data -> /root/.local/share/opencode
  • opencode-state -> /root/.local/state/opencode
  • opencode-cache -> /root/.cache/opencode

Optional environment variables

  • OPENCODE_SERVER_EXTRA_ARGS extra flags appended to server startup command
  • OPENCODE_MODE override mode, defaults to serve, with web as an alternative
  • OPENCODE_PROJECT_DIR override startup directory (default /workspace)

Building and publishing

See BUILDING.md for local build/run steps, manual multiarch publish commands, and automated GitHub Actions publish details.

About

A Docker image for opencode, built specifically for the OpenSimulate AI Stack. Open code connects to AI providers, manages models, and talks to the OpenSimulator AI stack MCP servers such as console2mcp and metaverse2mcp

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages