Run python-smpplib and php-smpp against our server: encodings and bind direction hold, no defects

This commit is contained in:
2026-09-06 22:15:20 +02:00
parent ab93833cee
commit a7f3ea70d7
10 changed files with 1587 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
x-log-limits: &log-limits
logging:
driver: json-file
options:
max-file: "3"
max-size: 20m
services:
php:
build: ./interop-tests/peers/php
image: interop-php:8.4.25-1d3b53c
command: ["node", "2775"]
<<: *log-limits
healthcheck:
test: ["CMD-SHELL", "bash -c 'exec 3<>/dev/tcp/127.0.0.1/8080'"]
interval: 1s
retries: 30
timeout: 2s
# php only ever dials node:2775 on this container's own network namespace, so this sees exactly
# its side of every scenario below (same pattern as compose.jsmpp.yaml).
capture:
image: nicolaka/netshoot:v0.16
network_mode: "service:php"
cap_add:
- NET_ADMIN
- NET_RAW
depends_on:
php:
condition: service_started
command: ["dumpcap", "-i", "any", "-f", "tcp port 2775", "-w", "/captures/php.pcapng"]
volumes:
- ./interop-tests/captures:/captures
node:
depends_on:
capture:
condition: service_started
php:
condition: service_healthy