Files

27 lines
769 B
YAML

services:
msi-pipeline-gpu:
build:
context: .
dockerfile: Dockerfile
image: msi-pipeline-gpu
working_dir: /app
shm_size: "2gb"
volumes:
# `:z` relabels the bind mount for SELinux hosts (Fedora/RHEL + Podman).
# It is ignored by Docker. Remove it if your host has no SELinux.
- ./ai_data:/app/ai_data:z
- ./outputs:/app/outputs:z
msi-pipeline-cpu:
build:
context: .
dockerfile: Dockerfile.cpu
image: msi-pipeline-cpu
working_dir: /app
shm_size: "2gb"
volumes:
# `:z` relabels the bind mount for SELinux hosts (Fedora/RHEL + Podman).
# It is ignored by Docker. Remove it if your host has no SELinux.
- ./ai_data:/app/ai_data:z
- ./outputs:/app/outputs:z