docker/config/deploy.toml 1.8 KiB 41 lines Raw
1 # Default binding for the compose control.2 #3 # The control image carries the mock bundle's manifests below4 # `/opt/inf3r/plugins` and no plugin binary. Other bundles come from the5 # manifest-only mount `/opt/inf3r/plugins-extra`; `ops/control-manifests.sh`6 # stages that tree. The mock engine is a sibling container from the final7 # bundle image; `ops/images.sh build mock/x64-cpu` tags8 # the stable local alias as well as the content tag. The state volume holds the9 # ledger, the blob store, and the generated first token. The token is never10 # baked into a layer.11 #12 # `socket_dir` is the path inside the control. `socket_host_dir` is the same13 # runtime directory as the rootless Docker daemon sees it; the control mounts14 # the host directory at `socket_dir`, and each engine gets only its own15 # instance below the host path. Replace the fixed user id when the daemon16 # runs under another account.17 18 [[node]]19 host            = "inf3r"20 bin_dir         = "/opt/inf3r/bin"21 bundle_dirs     = ["/opt/inf3r/plugins", "/opt/inf3r/plugins-extra"]22 blob_dir        = "/var/lib/inf3r/blobs"23 socket_dir      = "/run/inf3r"24 socket_host_dir = "/run/user/1000/inf3r"25 probe_image     = "inf3r:compose"26 web             = { tcp = "0.0.0.0:8080" }27 auth_file      = "/var/lib/inf3r/token"28 29 # The conformance bundle needs no weights and no device. The image name is a30 # local alias for the content-addressed image from `ops/images.sh`; production31 # deploy files use the full `sha-<12>` tag. The compose control mounts32 # `target/images.lock` at `/opt/inf3r/images.lock`, so the alias is checked33 # against the recorded image id and source label before the engine starts.34 [[node.bind]]35 bundle   = "mock/x64-cpu"36 runtime  = "container"37 image    = "inf3r/mock/x64-cpu:local"38 command  = ["/opt/inf3r/bin/inf3r-mock-x64-cpu"]39 models   = ["mock"]40 devices  = ["cpu:0"]41 warm     = true