Files
openchamber/docker-compose.yml
T
nzlov 6ca2b0da05 feat(container): add Docker deployment and terminal shell fallback (#520)
* feat(container): add Docker deployment and terminal shell fallback

Add Docker runtime assets (Dockerfile, compose file, and entrypoint) to run OpenChamber in containers with persistent config/data mounts.

Improve terminal PTY startup reliability by probing multiple shell candidates and falling back automatically across Unix and Windows environments.

* fix: add OMO install env

* docs: add Docker Compose instructions to README
2026-02-26 20:13:23 +02:00

21 lines
607 B
YAML

services:
openchamber:
build:
context: .
dockerfile: Dockerfile
image: openchamber:local
container_name: openchamber
ports:
- "3000:3000"
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./data/openchamber:/home/bun/.config/openchamber
- ./data/opencode/share:/home/bun/.local/share/opencode
- ./data/opencode/config:/home/bun/.config/opencode
- ./data/ssh:/home/bun/.ssh
- ./workspaces:/home/bun/workspaces
# environment:
# OH_MY_OPENCODE: true # enable oh-my-opencode
restart: unless-stopped