Default docker-compose.yml to pull from Docker Hub, sync with DOCKER_HUB.md
This commit is contained in:
+3
-3
@@ -400,6 +400,7 @@ services:
|
||||
image: joakimp/opencode-devbox:latest
|
||||
# For multi-agent orchestration, use the omos variant instead:
|
||||
# image: joakimp/opencode-devbox:latest-omos
|
||||
container_name: opencode-devbox
|
||||
stdin_open: true
|
||||
tty: true
|
||||
env_file:
|
||||
@@ -410,8 +411,7 @@ services:
|
||||
- ~/projects:/workspace
|
||||
- ~/.ssh:/home/developer/.ssh:ro
|
||||
- devbox-data:/home/developer/.local/share/opencode
|
||||
# Optional: persist Python/uv installs across restarts
|
||||
# - devbox-uv:/home/developer/.local/share/uv
|
||||
- devbox-uv:/home/developer/.local/share/uv
|
||||
# Optional: persist Rust toolchains and cargo data
|
||||
# - devbox-rustup:/home/developer/.rustup
|
||||
# - devbox-cargo:/home/developer/.cargo
|
||||
@@ -428,7 +428,7 @@ services:
|
||||
|
||||
volumes:
|
||||
devbox-data:
|
||||
# devbox-uv:
|
||||
devbox-uv:
|
||||
# devbox-rustup:
|
||||
# devbox-cargo:
|
||||
# devbox-vscode:
|
||||
|
||||
+11
-7
@@ -10,13 +10,17 @@
|
||||
|
||||
services:
|
||||
devbox:
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
INSTALL_PYTHON: "false"
|
||||
INSTALL_GO: "false"
|
||||
INSTALL_OMOS: "false"
|
||||
image: opencode-devbox:latest
|
||||
image: joakimp/opencode-devbox:latest
|
||||
# For multi-agent orchestration, use the omos variant instead:
|
||||
# image: joakimp/opencode-devbox:latest-omos
|
||||
#
|
||||
# To build from source instead of pulling from Docker Hub, uncomment:
|
||||
# build:
|
||||
# context: .
|
||||
# args:
|
||||
# INSTALL_PYTHON: "false"
|
||||
# INSTALL_GO: "false"
|
||||
# INSTALL_OMOS: "false"
|
||||
container_name: opencode-devbox
|
||||
stdin_open: true
|
||||
tty: true
|
||||
|
||||
Reference in New Issue
Block a user