mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 21:04:23 +01:00
feat: add build strategy for docker self-upgrade
This commit is contained in:
1 parent
9effe53bdc
commit
8e1c67f7b0
10 files changed
+252
-37
No files matched your search
@@ -108,6 +108,15 @@ When configured, users can enable push notifications in Settings → Notificatio
|
||||
| `OPENCODE_IMPORT_CONFIG_PATH` | Existing standalone OpenCode `opencode.json` to import on first startup | - |
|
||||
| `OPENCODE_IMPORT_STATE_PATH` | Existing standalone OpenCode state directory to import on first startup | - |
|
||||
|
||||
## Manager Self-Upgrade (Docker)
|
||||
|
||||
| Variable | Description | Default |
|
||||
|----------|-------------|---------|
|
||||
| `OCM_IMAGE` | Container image reference pulled during self-upgrade; also used as the compose `image:` tag | `ghcr.io/chriswritescode-dev/opencode-manager:latest` |
|
||||
| `OCM_MANAGER_UPGRADE_ENABLED` | Enable/disable the self-upgrade API (`false` disables) | `true` |
|
||||
| `OCM_UPGRADE_STRATEGY` | `pull` fetches `OCM_IMAGE` from the registry; `build` rebuilds the image from the compose project source directory (for source-built deployments) | `pull` |
|
||||
| `OCM_IN_DOCKER` | Marks the process as running inside Docker for runtimes without `/.dockerenv`; set automatically by docker-compose.yml | - |
|
||||
|
||||
## Timeouts
|
||||
|
||||
| Variable | Description | Default |
|
||||
|
||||
Reference in new issue
Block a user