mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
feat(docker): run container as host user with bind-mounted workspace
This commit is contained in:
1 parent
a73ac19bbc
commit
4cdd3d7d0b
10 files changed
+716
-4
No files matched your search
@@ -42,6 +42,13 @@ DATABASE_PATH=./data/opencode.db
|
||||
# ============================================
|
||||
WORKSPACE_PATH=./workspace
|
||||
|
||||
# Optional - Docker: bind /workspace to a host directory instead of the named
|
||||
# volume, and run the container as your host user so the files stay usable from
|
||||
# the host without root. Set PUID/PGID to the output of `id -u` / `id -g`.
|
||||
# OCM_WORKSPACE_HOST_PATH=/absolute/path/to/opencode-workspace
|
||||
# PUID=1000
|
||||
# PGID=1000
|
||||
|
||||
# Optional - convenience vars for Docker bind mounts documented in docs/configuration/docker.md
|
||||
# OCM_REPOS_HOST_PATH=/Users/you/Development
|
||||
# OCM_OPENCODE_CONFIG_HOST_PATH=/Users/you/.config/opencode
|
||||
|
||||
Reference in new issue
Block a user