Skip to content

Commit dc729d2

Browse files
zerone0xbridge
andauthored
docs: update Docker spawn example (#438)
Fixes #343 Co-authored-by: bridge <bridge@nousresearch.com>
1 parent d461f70 commit dc729d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ Use `spawn_command` to automatically start your server and `kill_command` to sto
834834
```lua
835835
require('opencode').setup({
836836
server = {
837-
url = 'localhost',
837+
url = 'https://localhost',
838838
port = 'auto', -- Random port for project isolation
839839
-- Path mapping: translate host paths to container paths
840840
path_map = function(host_path)
@@ -870,7 +870,7 @@ docker run -d --rm \
870870
-v ~/.local/share/opencode:/home/node/.local/share/opencode \
871871
-v ~/.config/opencode:/home/node/.config/opencode \
872872
-v "%s":/app:rw \
873-
opencode:latest opencode serve --port 4096 --hostname '0.0.0.0']],
873+
ghcr.io/anomalyco/opencode:latest serve --port 4096 --hostname '0.0.0.0']],
874874
container_name,
875875
port,
876876
cwd

0 commit comments

Comments
 (0)