Initial server source import
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user