infrastructure/compose.storage.yaml
2026-11-04 21:39:11 +00:00

17 lines
574 B
YAML

name: archipelago-storage
services:
storage:
image: ${STORAGE_IMAGE:?Set the verified immutable storage tools image ID}
network_mode: none
read_only: true
cap_drop: [ALL]
security_opt: [no-new-privileges:true]
pids_limit: 128
mem_limit: 1g
cpus: 2
tmpfs: [/tmp, /var/tmp]
volumes:
- ${ARCHIPELAGO_BINARY:?Set the verified CLI binary path}:/usr/local/bin/archipelago:ro
- ${REGISTRY_ROOT:?Set one public or private OSTree root}:/registry:rw
entrypoint: [archipelago]
command: [registry, verify, /registry/layers]