Self-host with Podman · Yantr
OpenCode
AI coding agent in browser - edit files, run commands, and get AI help.
Image
ghcr.io/anomalyco/opencode:2.4.1
Port · Web UI
4096HTTP+2
Service
opencode
Recipe
View composeAbout
What OpenCode does
OpenCode is a browser-based coding agent with an editor, terminal, Git, and AI assistance. Inspect projects, edit files, run commands, debug code, and get explanations from any device. The web server keeps the workspace in your browser, while providers receive prompts and tool data for each session.
Install Flow
How to self-host OpenCode
OpenCode can be deployed with standard compose files using the Yantr app catalog. This page collects the basic information searchers usually need first: what OpenCode does, which container image Yantr uses, default ports, deployment notes, and where to find the original compose template.
After deployment, Yantr lets you publish additional ports from the stack page using standard port syntax. Use 8080:8080 for a fixed host port or just 8080 to let Podman assign an automatic port.
Use Cases
What people run it for
- Run coding-agent sessions from a browser.
- Inspect project files and run terminal commands through the agent.
- Attach a terminal session to an existing OpenCode web server.
Technical Details
Ports, image, and service metadata
Ports
| Port | Protocol | Label | Service |
|---|---|---|---|
| 4096 | HTTP | Web UI | opencode |
| 4097 | HTTP | Dev server 1 | opencode |
| 4098 | HTTP | Dev server 2 | opencode |
Notes
Things to know before you deploy
- Sign in with username opencode and the generated OPENCODE_PASSWORD.
- Agent runs with full permissions; tighten via opencode.json when needed.
- Workspace persists in a named volume.
Related Apps
More tools you might pair with OpenCode
Page generated 2026-12-03T06:15:10.469Z