name: ndc-laboratory services: evidence: image: ${LAB_IMAGE:?immutable LAB image required} container_name: ndc-laboratory-evidence restart: unless-stopped read_only: true init: true cap_drop: [ALL] security_opt: [no-new-privileges:true] cpus: 2 mem_limit: 4g pids_limit: 128 ports: ["127.0.0.1:${LAB_PORT:-19087}:8080"] environment: MISSIONCORE_LAB_FFMPEG: /opt/ffmpeg/bin/ffmpeg MISSIONCORE_LAB_CONFIGURATION_ROOT: /lab/config MISSIONCORE_LAB_DELETION_ROOTS: '{"lab":"/lab","archive":"/lab-archive","ai":"/ai-jobs","tgs":"/tgs-jobs"}' tmpfs: ["/tmp:size=536870912,mode=1777"] volumes: - type: bind source: ${LAB_RUNTIME:?portable LAB volume required} target: /lab - type: bind source: ${LAB_ARCHIVE:?portable LAB archive required} target: /lab-archive - type: bind source: ${LAB_AI_JOBS:?AI job data required} target: /ai-jobs - type: bind source: ${LAB_TGS_JOBS:?TGS job data required} target: /tgs-jobs - type: bind source: ${LAB_CONFIGURATION:?versioned LAB configuration required} target: /lab/config read_only: true - type: bind source: ${LAB_TOKEN_FILE:?private token required} target: /run/secrets/lab-token read_only: true - type: bind source: ${LAB_FFMPEG_ROOT:?sealed FFmpeg runtime required} target: /opt/ffmpeg read_only: true logging: driver: json-file options: {max-size: "10m", max-file: "2"} labels: com.nodedc.product: mission-core com.nodedc.stack: laboratory com.nodedc.role: evidence-service com.nodedc.managed-by: laboratory-deployment-v1 networks: default: name: ndc-laboratory labels: com.nodedc.product: mission-core com.nodedc.stack: laboratory com.nodedc.role: transport com.nodedc.managed-by: laboratory-deployment-v1