services: lb: image: haproxy:3.2.26-alpine@sha256:5893840576071e6217cd52ebdcc14f454c6f7a631056fa6f4e0f40d3cac4215b volumes: [../../../infra/haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro] init: true deploy: resources: limits: {cpus: "0.5", memory: 128m} api: image: ${API_IMAGE:?Set the image built by the lab5 stack} entrypoint: [python, /fixture/server.py] volumes: [./:/fixture:ro] init: true deploy: resources: limits: {cpus: "0.5", memory: 128m} probe: image: ${API_IMAGE:?Set the image built by the lab5 stack} entrypoint: [python, /fixture/client.py] volumes: [./:/fixture:ro] profiles: [probe] init: true deploy: resources: limits: {cpus: "0.5", memory: 128m}