Compose manifest reference
compose in dsm-package.yaml declares only DSM differences of an upstream Compose project; the SDK keeps those files byte-for-byte unchanged. Features, identity and storage limits are in the container app guide.
| Field | Meaning |
|---|---|
files | Ordered upstream local Compose files |
env_files | Ordered interpolation files |
profiles | Explicit active profiles |
startup_timeout_seconds | Integer 2–900 seconds, default 900; readiness budget passed as SYNOPKGLAND_STARTUP_BUDGET_SECONDS |
web | service, container port, health path/status and base_path /; host_port is ignored |
data | Private bind intent; rejected by DSM build until ownership timing is supported |
devices | Optional gpu.services selects Intel render-node access through DSM video-driver/videodriver; no supported GPU uses software fallback |
shares | Native select: install binds one existing Shared Folder with matching install.sharedFolder key/permission and package-account ACL; dynamic admin-after-install remains blocked |
network | isolated / internet, ingress_candidate 0–255; allowlist rejected |
services | Per-service environment, egress, network and run_as differences |
host_udp | Optional host-network UDP listeners: up to 32 unique ports 1024–65535 with lowercase purpose labels; UDP does not satisfy Web readiness |
helpers | Optional architecture-specific native token/account payload |
resource_prefix | Stable optional resource-name prefix; keep across upgrades |
sdk | SDK planner release |
Unknown keys are refused; use the matching SDK, templates and CLI.
| Metadata | Limit |
|---|---|
metadata.screenshots | Up to 5 https:// PNG/JPG URLs. |
metadata.screenshots_mobile | Up to 5 phone screenshots under the same rules. |
Lock data inventory
Section titled “Lock data inventory”compose.lock.json records app_data.project and app_data.volumes, each volume with its key and exact name, for current project-owned volumes, including image-declared storage. It is neither a manifest input nor a runtime check. Named volumes stay after uninstall, even with delete-data selected; see data and removal.