opencode/compose.yaml aktualisiert
This commit is contained in:
1 parent
ff479237ad
commit
655d10667f
1 file changed
+8
-1
@@ -5,6 +5,8 @@ services:
|
||||
restart: always
|
||||
ports:
|
||||
- "${HOST_PORT:-4096}:4096"
|
||||
networks:
|
||||
- docker_internal
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
command:
|
||||
- |
|
||||
@@ -16,7 +18,7 @@ services:
|
||||
- XDG_DATA_HOME=/root/.local/share
|
||||
- XDG_STATE_HOME=/root/.local/state
|
||||
- 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_USERNAME=${OPENCODE_USERNAME:-opencode}
|
||||
- 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}/state:/root/.local/state/opencode
|
||||
working_dir: /root/workspaces
|
||||
|
||||
networks:
|
||||
docker_internal:
|
||||
name: docker_internal
|
||||
external: true
|
||||
Reference in new issue
Block a user