Files
strata/docker/compose/docker-compose.intel.yml
T
Niko1221 578bb6aa7a Docker: publish the images from 0.2.1 (workflow, signed-feed fetch, local script)
- .github/workflows/docker-images.yml: manual only (workflow_dispatch) with the release tag as input; a plan job lists the flavors the
  release has an engine package for; one job per flavor builds the image and, only with push on, pushes ghcr.io/niko1221/strata:<version>-<flavor>
  and latest-<flavor> with GITHUB_TOKEN (packages: write).
- docker/fetch-engines.py: downloads the engine package from the release and checks it against the signed update feed (feed signature, archive
  size and SHA-256, manifest hash, package signature, every file), the same code as `strata update`. Flavors cuda13, cuda12, rocm-gfx120x,
  rocm-gfx110x, rocm-gfx1151 (the halo package), sycl (only if the feed lists one).
- docker/publish.sh: the same steps by hand (fetch, build, start check, push only with --push).
- Fix: docker/build.sh did not copy docs/TERMINAL_LAUNCH.md, which package_terminal.py needs; no image could be built from a clean tree.
- Dockerfile: OCI source/url/documentation labels (ghcr links the package to the repository).
- Compose files and docs/DOCKER.md name the 0.2.1 tags on ghcr.io; DOCKER.md has a maintainers section. Tests for the scripts, the workflow and the fetch.
2026-10-19 20:57:22 +02:00

36 lines
1.3 KiB
YAML

# Strata on an Intel Arc card (A-series or B-series, including Arc Pro B70). Needs the xe or i915 kernel driver on the host.
# The Level Zero loader and Intel's compute runtime are in the image (Ubuntu 26.04 based).
#
# cp .env.example .env
# docker compose -f docker-compose.intel.yml up -d
#
# Images: ghcr.io/niko1221/strata (published from 0.2.1 on). To use one you built yourself: STRATA_IMAGE=strata:0.2.1-<flavor> docker compose up -d
services:
strata:
image: ${STRATA_IMAGE:-ghcr.io/niko1221/strata:0.2.1-sycl}
container_name: strata
restart: unless-stopped
ports:
- "${STRATA_BIND:-127.0.0.1}:${STRATA_PORT:-8080}:8080"
environment:
MODEL: ${MODEL:-}
MODEL_PATH: ${MODEL_PATH:-} # GGUF files you already have, as seen inside the container (mount them below)
CONTEXT: ${CONTEXT:-32k}
PARALLEL: ${PARALLEL:-}
VISION: ${VISION:-off}
TUNE: ${TUNE:-skip}
API_KEY: ${API_KEY:-}
volumes:
- strata-data:/data
# - /srv/gguf/IQ3_XXS:/models:ro
devices:
- /dev/dri:/dev/dri
group_add:
- "${RENDER_GID:-render}" # the host's render group id: getent group render | cut -d: -f3 (needed if you add `user:`)
ulimits:
memlock: { soft: -1, hard: -1 }
shm_size: 2gb
stop_grace_period: 2m
volumes:
strata-data: