fix: opencode restarting

This commit is contained in:
2026-07-21 00:16:04 +02:00
parent b47430c963
commit d3946b195e
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ services:
- agentci_data:/var/lib/agentci
- ./install-scripts:/etc/agentci/install-scripts:ro
tmpfs:
- /run/agentci
- /run/agentci:mode=1777
expose:
- "8080"
networks:
@@ -78,7 +78,7 @@ services:
- agentci_data:/var/lib/agentci
- opencode_home:/var/lib/opencode
tmpfs:
- /run/agentci
- /run/agentci:mode=1777
expose:
- "4096"
networks:
+1
View File
@@ -26,6 +26,7 @@ def test_compose_removes_codex_sandbox_exceptions() -> None:
assert "opencode_home:/var/lib/opencode" in compose
assert "HOME: /etc/opencode/home" in compose
assert "OPENCODE_DISABLE_EXTERNAL_SKILLS" in compose
assert compose.count("/run/agentci:mode=1777") == 2
assert "AGENTCI_OPENCODE_VERSION: ${AGENTCI_OPENCODE_VERSION:-^1}" in compose
assert "ARG AGENTCI_OPENCODE_VERSION=^1" in dockerfile
assert '"opencode-ai@${AGENTCI_OPENCODE_VERSION}"' in dockerfile