Files
truf-server/compose.snapshot-import.yaml
T
2026-09-30 20:30:56 +03:00

23 lines
728 B
YAML

# Offline import only. Merge after compose.yaml, not compose.windows-import.yaml.
services:
runtime:
network_mode: none
restart: "no"
healthcheck:
disable: true
environment:
TRUF_CONTAINER_CONFIG: /opt/truf/app/config.linux.yaml
volumes:
- type: bind
source: "${TRUF_WINDOWS_SNAPSHOT:?Set TRUF_WINDOWS_SNAPSHOT to the completed Windows snapshot directory}"
target: /import
read_only: true
bind:
create_host_path: false
command:
- import-snapshot
- --manifest-sha256
- "${TRUF_WINDOWS_SNAPSHOT_SHA256:?Set TRUF_WINDOWS_SNAPSHOT_SHA256 to the pinned manifest SHA-256}"
- --config
- /opt/truf/app/config.linux.yaml