Add SPDDK build

This commit is contained in:
Audiobuzz
2026-06-14 05:58:55 +00:00
parent e98d8813cf
commit 62e997297c
9 changed files with 273 additions and 6 deletions
+4 -1
View File
@@ -90,7 +90,10 @@ services:
# --- NVMe/TCP target (serves rootfs.erofs, read-only) ----------------------
nvmeof:
image: spdk/spdk:v24.09 # pin to a tag you've tested
# Prebuilt by CI (.gitea/workflows/spdk-image.yaml) and pulled here — no
# official spdk/spdk image exists, so we compile our own once in the
# pipeline. Local-dev alternative: replace this line with `build: ./spdk`.
image: ${SPDK_IMAGE}:${SPDK_VERSION}
network_mode: host # NVMe/TCP listener on ${TARGET_PORT}
privileged: true # hugepages + IPC_LOCK/SYS_ADMIN for SPDK
restart: unless-stopped