install-module.sh¶
Deploys a TAPPaaS module with comprehensive dependency validation and service integration.
Usage¶
Parameters¶
| Parameter | Description | Example |
|---|---|---|
module-name | Module to deploy | openwebui |
--variant <name> | Install a variant version | --variant staging |
--<field> <value> | Override JSON field | --node tappaas2 |
What it does¶
- Configuration Setup — Uses
copy-update-json.shto prepare the module JSON config, supporting variant mode with automatic field derivation - Dependency Validation — Confirms all services listed in
dependsOnare provided by already-installed modules - Service Script Verification — Ensures the module contains service scripts for each service it provides
- Dependency Installation — Iterates through
dependsOnand calls each provider'sinstall-service.sh - Module Installation — Executes the module's
install.shif present
Variant Mode¶
When --variant <name> is specified, the script leverages copy-update-json.sh to automatically derive:
- vmname — Base name plus variant (e.g.,
openwebui-staging) - vmid — Next available ID after the source module
- zone0 — Variant name if it matches a configured zone, otherwise unchanged
- proxyDomain — Variant inserted after first domain segment
These can be overridden with explicit --<field> parameters.
Examples¶
# Basic installation
install-module.sh vaultwarden
# With field override
install-module.sh litellm --node tappaas2
# Install staging variant (auto-derives vmname, vmid, proxyDomain)
install-module.sh openwebui --variant staging
# Variant with explicit overrides
install-module.sh openwebui --variant dev --zone0 dev-srv --vmid 315
See Also¶
- update-module.sh - Update a module
- delete-module.sh - Delete a module
- Module Structure - Detailed module lifecycle documentation