opencode/compose.yaml aktualisiert

This commit is contained in:
thomas committed 2026-12-05 21:08:48 +00:00
1 parent ff479237ad
commit 655d10667f
1 file changed
+8 -1
+8 -1
View File
@@ -5,6 +5,8 @@ services:
restart: always restart: always
ports: ports:
- "${HOST_PORT:-4096}:4096" - "${HOST_PORT:-4096}:4096"
networks:
- docker_internal
entrypoint: ["/bin/sh", "-c"] entrypoint: ["/bin/sh", "-c"]
command: command:
- | - |
@@ -16,7 +18,7 @@ services:
- XDG_DATA_HOME=/root/.local/share - XDG_DATA_HOME=/root/.local/share
- XDG_STATE_HOME=/root/.local/state - XDG_STATE_HOME=/root/.local/state
- XDG_CACHE_HOME=/root/.cache - XDG_CACHE_HOME=/root/.cache
- LOG_LEVEL=${LOG_LEVEL:-DEBUG} - LOG_LEVEL=${LOG_LEVEL:-INFO}
- OPENCODE_SERVER_PASSWORD=${OPENCODE_PASSWORD:?error_OPENCODE_PASSWORD_is_required} - OPENCODE_SERVER_PASSWORD=${OPENCODE_PASSWORD:?error_OPENCODE_PASSWORD_is_required}
- OPENCODE_SERVER_USERNAME=${OPENCODE_USERNAME:-opencode} - OPENCODE_SERVER_USERNAME=${OPENCODE_USERNAME:-opencode}
- GIT_AUTHOR_NAME=${GIT_USER_NAME:-OpenCode Agent} - GIT_AUTHOR_NAME=${GIT_USER_NAME:-OpenCode Agent}
@@ -38,3 +40,8 @@ services:
- /opt/docker/${STACK_NAME:-opencode}/data:/root/.local/share/opencode - /opt/docker/${STACK_NAME:-opencode}/data:/root/.local/share/opencode
- /opt/docker/${STACK_NAME:-opencode}/state:/root/.local/state/opencode - /opt/docker/${STACK_NAME:-opencode}/state:/root/.local/state/opencode
working_dir: /root/workspaces working_dir: /root/workspaces
networks:
docker_internal:
name: docker_internal
external: true