forked from mtusi2026/mtusi2026lab2
24 lines
838 B
YAML
24 lines
838 B
YAML
x-provenance: "date: 2026-11-06T08:22:40.085212+00:00 commit: b063c8780eabf63cdb9da3802f82440750308d6b"
|
|
services:
|
|
lb:
|
|
image: haproxy:3.2.26-alpine@sha256:5893840576071e6217cd52ebdcc14f454c6f7a631056fa6f4e0f40d3cac4215b
|
|
volumes: [../../../infra/haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro]
|
|
deploy:
|
|
resources:
|
|
limits: {cpus: "0.5", memory: 128m}
|
|
api:
|
|
image: mtusi-messenger:hlpipe-lab3-validation-20261106
|
|
entrypoint: [python, /fixture/server.py]
|
|
volumes: [./:/fixture:ro]
|
|
deploy:
|
|
resources:
|
|
limits: {cpus: "0.5", memory: 128m}
|
|
probe:
|
|
image: mtusi-messenger:hlpipe-lab3-validation-20261106
|
|
entrypoint: [python, /fixture/client.py]
|
|
volumes: [./:/fixture:ro]
|
|
profiles: [probe]
|
|
deploy:
|
|
resources:
|
|
limits: {cpus: "0.5", memory: 128m}
|