Add SPDDK build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user