feat: add build strategy for docker self-upgrade

This commit is contained in:
Chris Scott committed 2026-07-04 12:32:04 -04:00
1 parent 9effe53bdc
commit 8e1c67f7b0
10 files changed
+252 -37

No files matched your search

+4
View File
@@ -49,6 +49,10 @@ WORKSPACE_PATH=./workspace
# OCM_IMAGE=ghcr.io/chriswritescode-dev/opencode-manager:latest
# Enable or disable the self-upgrade mechanism.
# OCM_MANAGER_UPGRADE_ENABLED=true
# Upgrade strategy: 'pull' fetches OCM_IMAGE from the registry; 'build'
# rebuilds the image from the compose project source directory as-is
# (update the source on the host first). Use 'build' for source-built deployments.
# OCM_UPGRADE_STRATEGY=pull
# Optional - convenience vars for Docker bind mounts documented in docs/configuration/docker.md
# OCM_REPOS_HOST_PATH=/Users/you/Development