feat(docker): trust every git repository through GIT_CONFIG_* in compose

This commit is contained in:
EugeneTes
2026-10-02 09:21:24 +00:00
parent 0cb791d529
commit 3a57b81d88
2 changed files with 5 additions and 0 deletions

View File

@@ -32,6 +32,10 @@ services:
- PLAYWRIGHT_BROWSER=${PLAYWRIGHT_BROWSER:-}
- PLAYWRIGHT_EXTRA_ARGS=${PLAYWRIGHT_EXTRA_ARGS:---no-sandbox}
- PLAYWRIGHT_COMMAND=${PLAYWRIGHT_COMMAND:-playwright-mcp}
# git trusts every repository: workspaces copied in on the host belong to another uid, which git otherwise refuses.
- GIT_CONFIG_COUNT=1
- GIT_CONFIG_KEY_0=safe.directory
- GIT_CONFIG_VALUE_0=*
# Bind mounts on the host. Docker creates missing directories as root; the entrypoint hands the three roots to app.
volumes:
- /media/disk1/containers/volcanic_secretary_core/workspaces:/data/workspaces