services: lens-worker: image: ${LENS_WORKER_IMAGE:-ghcr.io/berriai/litellm-lens-worker@sha256:67eba741c1b97c749975c5c38e2370a603e1105babc908d613c1b79d7b995393} environment: LITELLM_URL: ${LITELLM_URL:?Set the URL reachable from this container} LENS_WORKER_TOKEN: ${LENS_WORKER_TOKEN:?Create a worker credential in the Lens UI} restart: unless-stopped read_only: true tmpfs: - /tmp:rw,noexec,nosuid,size=${LENS_WORKER_TMP_SIZE:-1g} cap_drop: [ALL] security_opt: [no-new-privileges:true]