edbeeching's picture
edbeeching HF Staff
Restore self-contained Harbor tasks with the evidence directory fix
80833e8 verified
Raw History Blame Contribute Delete
1.38 kB
services:
main:
image: agentescapebench-agent:7ff37dd793e1
build:
context: ./agent
networks: [default, puzzle]
security_opt: [no-new-privileges:true]
depends_on:
puzzle:
condition: service_healthy
puzzle:
image: agentescapebench-puzzle:agentescape-10-skeleton-33db7c84-7ff37dd793e1
build:
context: ./puzzle
networks: [puzzle, execution]
cap_drop: [ALL]
security_opt: [no-new-privileges:true]
pids_limit: 64
mem_limit: 512m
healthcheck:
test: [CMD, python, -c, "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
interval: 1s
timeout: 3s
retries: 30
depends_on:
worker:
condition: service_healthy
worker:
image: agentescapebench-worker:7ff37dd793e1
build:
context: ./puzzle
dockerfile: worker.Dockerfile
networks: [execution]
read_only: true
tmpfs: ["/tmp:size=64m,mode=1777"]
cap_drop: [ALL]
cap_add: [SETUID, SETGID, KILL, CHOWN, DAC_OVERRIDE]
security_opt: [no-new-privileges:true]
pids_limit: 64
mem_limit: 384m
healthcheck:
test: [CMD, python, -c, "import urllib.request; urllib.request.urlopen('http://localhost:8001/health')"]
interval: 1s
timeout: 3s
retries: 30
networks:
puzzle:
internal: true
execution:
internal: true