feat(worker): V1-2.3 sandboxed verify child and sheet-verify job mode
This commit is contained in:
1 parent
345dde59e6
commit
31fbb0317f
24 files changed
+2145
-87
No files matched your search
@@ -40,6 +40,28 @@ services:
|
||||
- supabase
|
||||
restart: unless-stopped
|
||||
|
||||
# Sheet verification worker (V1-2.3, V1-2 contract §6.4): the same image and hardening as
|
||||
# `worker`, the verification loop only (no avatar, no sweep). Its `verify` child is capped
|
||||
# at 1 GiB of address space (crates/worker/src/limits.rs). Started only with the `worker`
|
||||
# profile: `docker compose --profile worker up -d worker-verify`; never on DEV.
|
||||
worker-verify:
|
||||
container_name: faunosteo_worker_verify
|
||||
profiles: ["worker"]
|
||||
image: faunosteo_worker:local
|
||||
env_file:
|
||||
- .env.worker
|
||||
command: ["run", "--jobs", "sheet-verify"]
|
||||
read_only: true
|
||||
cap_drop: [ALL]
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
mem_limit: 512m
|
||||
cpus: 1
|
||||
pids_limit: 64
|
||||
networks:
|
||||
- supabase
|
||||
restart: unless-stopped
|
||||
|
||||
# DEV gateway (docs/development/ENVIRONMENTS.md §3): Mailpit behind basic auth on
|
||||
# <DEV host>:54325, the only LAN entry to the DEV mails (the CLI's raw Mailpit port
|
||||
# 54324 is closed to the LAN by the host firewall rule). Started by `pnpm dev:gateway`
|
||||
|
||||
Reference in new issue
Block a user